constraint

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adder

type Adder struct {
	Opa opa.Client
}

func (*Adder) Add

func (a *Adder) Add(mgr manager.Manager, gvk schema.GroupVersionKind) error

Add creates a new Constraint Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

type ReconcileConstraint

type ReconcileConstraint struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileSync reconciles an arbitrary constraint object described by Kind

func (*ReconcileConstraint) Reconcile

func (r *ReconcileConstraint) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a constraint object and makes changes based on the state read and what is in the constraint.Spec +kubebuilder:rbac:groups=constraints.gatekeeper.sh,resources=*,verbs=get;list;watch;create;update;patch;delete

Jump to

Keyboard shortcuts

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