kube

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 3

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL