Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfigLoader ¶
type ClientConfigLoader interface { Load(data []byte) (*clientcmdapi.Config, error) ClientFromConfig(config *rest.Config) (kubernetes.Interface, error) ClientFromPath(kubeConfigPath string) (kubernetes.Interface, error) GetConfigFromPath(kubeConfigPath string) (*rest.Config, error) DefaultClientConfig(config clientcmdapi.Config, overrides *clientcmd.ConfigOverrides) clientcmd.ClientConfig RawConfigFromClientConfig(clientConfig clientcmd.ClientConfig) (clientcmdapi.Config, error) ClientConfig(clientConfig clientcmd.ClientConfig) (*rest.Config, error) AdmiralClientFromConfig(config *rest.Config) (admiralclientset.Interface, error) AdmiralClientFromPath(kubeConfigPath string) (admiralclientset.Interface, error) IstioClientFromPath(kubeConfigPath string) (istioclientset.Interface, error) IstioClientFromConfig(config *rest.Config) (istioclientset.Interface, error) ArgoClientFromPath(kubeConfigPath string) (argoclientset.Interface, error) ArgoClientFromConfig(config *rest.Config) (argoclientset.Interface, error) }
func NewConfigLoader ¶
func NewConfigLoader() ClientConfigLoader
Click to show internal directories.
Click to hide internal directories.