NewNonInteractiveClientConfig creates a DirectClientConfig using the passed context name and does not have a fallback reader for auth information
(config clientcmdapi.Config, contextName string, overrides *ConfigOverrides, configAccess ConfigAccess)
| 91 | |
| 92 | // NewNonInteractiveClientConfig creates a DirectClientConfig using the passed context name and does not have a fallback reader for auth information |
| 93 | func NewNonInteractiveClientConfig(config clientcmdapi.Config, contextName string, overrides *ConfigOverrides, configAccess ConfigAccess) ClientConfig { |
| 94 | return &DirectClientConfig{config, contextName, overrides, nil, configAccess, promptedCredentials{}} |
| 95 | } |
| 96 | |
| 97 | // NewInteractiveClientConfig creates a DirectClientConfig using the passed context name and a reader in case auth information is not provided via files or flags |
| 98 | func NewInteractiveClientConfig(config clientcmdapi.Config, contextName string, overrides *ConfigOverrides, fallbackReader io.Reader, configAccess ConfigAccess) ClientConfig { |
no outgoing calls