Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PodStatusToConstraintMapper ¶
PodStatusToConstraintMapper correlates a ConstraintPodStatus with its corresponding constraint `selfOnly` tells the mapper to only map statuses corresponding to the current pod.
Types ¶
type Adder ¶
type Adder struct { Opa *constraintclient.Client WatchManager *watch.Manager ControllerSwitch *watch.ControllerSwitch Events <-chan event.GenericEvent IfWatching func(schema.GroupVersionKind, func() error) (bool, error) }
type ReconcileConstraintStatus ¶
type ReconcileConstraintStatus struct {
// contains filtered or unexported fields
}
ReconcileConstraintStatus reconciles an arbitrary constraint object described by Kind.
func (*ReconcileConstraintStatus) Reconcile ¶
func (r *ReconcileConstraintStatus) Reconcile(ctx context.Context, 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.
Click to show internal directories.
Click to hide internal directories.