reconciler

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	Clientset kubernetes.Interface
	// contains filtered or unexported fields
}

Parser parses RBAC Definitions and determines the Kubernetes resources that it specifies

func (*Parser) Parse

func (p *Parser) Parse(rbacDef rbacmanagerv1beta1.RBACDefinition) error

Parse determines the desired Kubernetes resources an RBAC Definition refers to

type Reconciler

type Reconciler struct {
	Clientset kubernetes.Interface
	// contains filtered or unexported fields
}

Reconciler creates and deletes Kubernetes resources to achieve the desired state of an RBAC Definition

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(rbacDef *rbacmanagerv1beta1.RBACDefinition) error

Reconcile creates, updates, or deletes Kubernetes resources to match

the desired state defined in an RBAC Definition

func (*Reconciler) ReconcileNamespaceChange

func (r *Reconciler) ReconcileNamespaceChange(rbacDef *rbacmanagerv1beta1.RBACDefinition, namespace *v1.Namespace) error

ReconcileNamespaceChange reconciles relevant portions of RBAC Definitions

after changes to namespaces within the cluster

func (*Reconciler) ReconcileOwners

func (r *Reconciler) ReconcileOwners(ownerRefs []metav1.OwnerReference, kind string) error

ReconcileOwners reconciles any RBACDefinitions found in owner references

Jump to

Keyboard shortcuts

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