Documentation ¶
Index ¶
- func GetConfig(kubeconfigPath string) (*rest.Config, error)
- func IsConnected(ctx context.Context, r rest.Interface) error
- func LoadConfig(kubeconfigPath string) (*rest.Config, error)
- func ToClientCmdApiConfig(restCfg *rest.Config) (*clientcmdapi.Config, error)
- func Wait(ctx context.Context, cfg *rest.Config) error
- type Embedded
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToClientCmdApiConfig ¶ added in v0.4.0
func ToClientCmdApiConfig(restCfg *rest.Config) (*clientcmdapi.Config, error)
ToClientCmdApiConfig using a rest.Config to generate a clientcmdapi.Config. Warning this helper is only used for the cases that the caller only accept a clientcmdapi.Config. Try to use rest.Config directly if possible.
Types ¶
Click to show internal directories.
Click to hide internal directories.