Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Workers is the number of workers for this controller Workers = 2 ControllerName = "background-scan-controller" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( client dclient.Interface, kyvernoClient versioned.Interface, engine engineapi.Engine, metadataFactory metadatainformers.SharedInformerFactory, polInformer kyvernov1informers.PolicyInformer, cpolInformer kyvernov1informers.ClusterPolicyInformer, polexInformer kyvernov2informers.PolicyExceptionInformer, vapInformer admissionregistrationv1beta1informers.ValidatingAdmissionPolicyInformer, vapBindingInformer admissionregistrationv1beta1informers.ValidatingAdmissionPolicyBindingInformer, nsInformer corev1informers.NamespaceInformer, metadataCache resource.MetadataCache, forceDelay time.Duration, config config.Configuration, jp jmespath.Interface, eventGen event.Interface, policyReports bool, ) controllers.Controller
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.