kube

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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