openshift/openshift-copies.go
func (config *directClientConfig) getAuthInfo() clientcmdAuthInfo {
	authInfos := config.config.AuthInfos
	authInfoName := config.getAuthInfoName()

	var mergedAuthInfo clientcmdAuthInfo
	if configAuthInfo, exists := authInfos[authInfoName]; exists {
		mergo.Merge(&mergedAuthInfo, configAuthInfo)
	}
	// REMOVED: overrides support

	return mergedAuthInfo
}
func (config *directClientConfig) getAuthInfo() clientcmdAuthInfo {
	authInfos := config.config.AuthInfos
	authInfoName := config.getAuthInfoName()

	var mergedAuthInfo clientcmdAuthInfo
	if configAuthInfo, exists := authInfos[authInfoName]; exists {
		mergo.Merge(&mergedAuthInfo, configAuthInfo)
	}
	// REMOVED: overrides support

	return mergedAuthInfo
}
func ( config * directClientConfig ) getAuthInfo ( ) clientcmdAuthInfo { authInfos := config . config . AuthInfos authInfoName := config . getAuthInfoName ( ) var mergedAuthInfo clientcmdAuthInfo if configAuthInfo , exists := authInfos [ authInfoName ] ; exists { mergo . Merge ( & mergedAuthInfo , configAuthInfo ) } // REMOVED: overrides support return mergedAuthInfo }
// getAuthInfo is a modified copy of k8s.io/kubernetes/pkg/client/unversioned/clientcmd.DirectClientConfig.getAuthInfo.
getAuthInfo is a modified copy of k8s . io / kubernetes / pkg / client / unversioned / clientcmd . DirectClientConfig . getAuthInfo .