Documentation ¶
Index ¶
Constants ¶
View Source
const LabelKey = "rbac-manager"
LabelKey is the key of the key/value pair given to all resources managed by RBAC Manager
View Source
const LabelValue = "reactiveops"
LabelValue is the value of the key/value pair given to all resources managed by RBAC Manager
Variables ¶
View Source
var Labels = map[string]string{LabelKey: LabelValue}
Labels is the key/value pair given to all resources managed by RBAC Manager
View Source
var ListOptions = metav1.ListOptions{LabelSelector: LabelKey + "=" + LabelValue}
ListOptions is the default set of options to find resources managed by RBAC Manager
Functions ¶
func GetClientsetOrDie ¶
func GetClientsetOrDie() *kubernetes.Clientset
GetClientsetOrDie returns a new Kubernetes Clientset or dies
func GetRbacDefinition ¶
func GetRbacDefinition(name string) (rbacmanagerv1beta1.RBACDefinition, error)
GetRbacDefinition returns an RbacDefinition for a specified name or an error
func GetRbacDefinitions ¶
func GetRbacDefinitions() (rbacmanagerv1beta1.RBACDefinitionList, error)
GetRbacDefinitions returns an RbacDefinitionList or an error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.