func (config *directClientConfig) getContext() clientcmdContext {
	contexts := config.config.Contexts
	contextName := config.getContextName()

	var mergedContext clientcmdContext
	if configContext, exists := contexts[contextName]; exists {
		mergo.Merge(&mergedContext, configContext)
	}
	// REMOVED: overrides support

	return mergedContext
}
func (config *directClientConfig) getContext() clientcmdContext {
	contexts := config.config.Contexts
	contextName := config.getContextName()

	var mergedContext clientcmdContext
	if configContext, exists := contexts[contextName]; exists {
		mergo.Merge(&mergedContext, configContext)
	}
	

	return mergedContext
}
func ( config * directClientConfig ) getContext ( ) clientcmdContext { contexts := config . config . Contexts contextName := config . getContextName ( ) var mergedContext clientcmdContext if configContext , exists := contexts [ contextName ] ; exists { mergo . Merge ( & mergedContext , configContext ) } // REMOVED: overrides support return mergedContext }
// getContext is a modified copy of k8s.io/kubernetes/pkg/client/unversioned/clientcmd.DirectClientConfig.getContext.
getContext is a modified copy of k8s . io / kubernetes / pkg / client / unversioned / clientcmd . DirectClientConfig . getContext .