Documentation ¶
Index ¶
- func GetAPIConfig(kubeconfig string) (*clientcmdapi.Config, error)
- func GetCRDClient(groupVersion schema.GroupVersion, crd Crd) (dynamic.NamespaceableResourceInterface, error)
- func GetGroupVersion(group, version string) schema.GroupVersion
- func GetKubeClientset(kubeconfigPath string) (kubernetes.Interface, error)
- func KubectlCommand(params []string, kConfig string) (out, stderr string, err error)
- type Crd
- type KubectlCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAPIConfig ¶
func GetAPIConfig(kubeconfig string) (*clientcmdapi.Config, error)
func GetCRDClient ¶
func GetCRDClient(groupVersion schema.GroupVersion, crd Crd) (dynamic.NamespaceableResourceInterface, error)
func GetGroupVersion ¶
func GetGroupVersion(group, version string) schema.GroupVersion
func GetKubeClientset ¶
func GetKubeClientset(kubeconfigPath string) (kubernetes.Interface, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.