Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶ added in v5.13.3
func GetConfig(kubeContext string, kubeConfigPath string) (*rest.Config, error)
GetConfig returns the current kube config with a specific context
func GetKubeClient ¶
func GetKubeClient(kubeConfig *rest.Config) (kubernetes.Interface, error)
GetKubeClient returns a Kubernetes.Interface based on the current configuration
Types ¶
type Kube ¶
type Kube struct {
Client kubernetes.Interface
}
func GetConfigInstance ¶
func GetConfigInstance(kubeContext string, kubeConfigPath string) (*Kube, error)
GetConfigInstance returns a Pluto Kubernetes interface based on the current configuration
Click to show internal directories.
Click to hide internal directories.