Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerationHandler ¶
type GenerationHandler interface {
Handle(context.Context, admissionv1.AdmissionRequest, []kyvernov1.PolicyInterface, *engine.PolicyContext)
}
func NewGenerationHandler ¶
func NewGenerationHandler( log logr.Logger, engine engineapi.Engine, client dclient.Interface, kyvernoClient versioned.Interface, nsLister corev1listers.NamespaceLister, urLister kyvernov2listers.UpdateRequestNamespaceLister, cpolLister kyvernov1listers.ClusterPolicyLister, polLister kyvernov1listers.PolicyLister, urGenerator webhookgenerate.Generator, eventGen event.Interface, metrics metrics.MetricsConfigManager, backgroundServiceAccountName string, reportsServiceAccountName string, ) GenerationHandler
Click to show internal directories.
Click to hide internal directories.