Documentation ¶
Index ¶
- func AuthCanI(kubeconfig, verb, resource string) error
- func CreateServiceAccount(name, namespace string) error
- func DeleteServiceAccount(name, namespace string) error
- func GetCluster(name string) (string, error)
- func GetCurrentContext() (string, error)
- func GetSATokenSecret(name string) (string, error)
- func GetToken(user string) (string, error)
- func Kubeconfig(user, namespace string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateServiceAccount ¶
func DeleteServiceAccount ¶
func GetCluster ¶
func GetCurrentContext ¶
func GetSATokenSecret ¶
func Kubeconfig ¶
Get gets a user Kubeconfig in the current cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.