const ControllerName … type Controller … func (c *Controller) Run(ctx context.Context, workers int) { … } func NewController(policyInformer informerv1.ValidatingAdmissionPolicyInformer, policyClient admissionregistrationv1.ValidatingAdmissionPolicyInterface, typeChecker *validatingadmissionpolicy.TypeChecker) (*Controller, error) { … } func (c *Controller) enqueuePolicy(policy any) { … } func (c *Controller) runWorker(ctx context.Context) { … } func (c *Controller) processNextWorkItem(ctx context.Context) bool { … } func (c *Controller) reconcile(ctx context.Context, policy *v1.ValidatingAdmissionPolicy) error { … }