Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AvailableRoles = []K8sRole{ DefaultRole, AdminRole, OnCallRole, }
A list of all existing cluster roles.
Functions ¶
func GetNamespaceName ¶
GetNamespaceName returns a sanitized version of the input string which is allowed to be used as a kubernetes namespace.
func NewClient ¶
NewClient creates a new kubernetes.Clientset using the in-cluster config with a fallback to the local kubeconfig.
func ValidateRole ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.