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