Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "validatingadmissionpolicy-status"
ControllerName has "Status" in it to differentiate this controller with the other that runs in API server.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is the ValidatingAdmissionPolicy Status controller that reconciles the Status field of each policy object. This controller runs type checks against referred types for each policy definition.
func NewController ¶
func NewController(policyInformer informerv1beta1.ValidatingAdmissionPolicyInformer, policyClient admissionregistrationv1beta1.ValidatingAdmissionPolicyInterface, typeChecker *validatingadmissionpolicy.TypeChecker) (*Controller, error)
Click to show internal directories.
Click to hide internal directories.