Documentation ¶
Index ¶
- func ConvertRestConfigToClientConfig(config *rest.Config) clientcmd.ClientConfig
- func ConvertRestConfigToRawConfig(config *rest.Config) (*clientcmdapi.Config, error)
- func NewLocalConfigFor(config *rest.Config, userInfo user.Info) (*clientcmdapi.Config, error)
- func NewVClusterClientConfig(name, namespace string, token string, clientCert, clientKey []byte) (*rest.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertRestConfigToClientConfig ¶
func ConvertRestConfigToClientConfig(config *rest.Config) clientcmd.ClientConfig
func ConvertRestConfigToRawConfig ¶
func ConvertRestConfigToRawConfig(config *rest.Config) (*clientcmdapi.Config, error)
func NewLocalConfigFor ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.