Documentation
¶
Index ¶
- func FindKubeCTL() (path string, err error)
- func GetContextClusterName(contextName string) (clusterName string, err error)
- func GetContextNamespace(contextName string) (namespace string, err error)
- func GetCurrentContextName() (name string, err error)
- func GetServiceAccountToken(namespace string, name string) (token string, err error)
- func RunKubectl(args ...string) (output []byte, err error)
- func SetContext(contextName string, clusterName string, username string, namespace string) (err error)
- func SetTokenCredentials(username string, token string) (err error)
- func UseContext(contextName string) (err error)
- type Cluster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindKubeCTL ¶
func GetContextClusterName ¶
func GetContextNamespace ¶
func GetCurrentContextName ¶
func GetServiceAccountToken ¶
func RunKubectl ¶
func SetContext ¶
func SetTokenCredentials ¶
func UseContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.