Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerationHandler ¶
type GenerationHandler interface { // TODO: why do we need to expose that ? HandleUpdatesForGenerateRules(*admissionv1.AdmissionRequest, []kyvernov1.PolicyInterface) Handle( *metrics.MetricsConfig, *admissionv1.AdmissionRequest, []kyvernov1.PolicyInterface, *engine.PolicyContext, time.Time, *chan int64, *chan []*response.EngineResponse, *chan []*response.EngineResponse, ) }
func NewGenerationHandler ¶
func NewGenerationHandler( log logr.Logger, client dclient.Interface, kyvernoClient versioned.Interface, nsLister corev1listers.NamespaceLister, urLister kyvernov1beta1listers.UpdateRequestNamespaceLister, urGenerator webhookgenerate.Generator, urUpdater webhookutils.UpdateRequestUpdater, eventGen event.Interface, ) GenerationHandler
Click to show internal directories.
Click to hide internal directories.