Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DryRunner ¶
type DryRunner interface {
RunParser(ctx context.Context, parser *telemetryv1alpha1.LogParser) error
}
type ValidatingWebhookHandler ¶
+kubebuilder:webhook:path=/validate-logparser,mutating=false,failurePolicy=fail,sideEffects=None,groups=telemetry.kyma-project.io,resources=logparsers,verbs=create;update,versions=v1alpha1,name=vlogparser.kb.io,admissionReviewVersions=v1
func NewValidatingWebhookHandler ¶
func NewValidatingWebhookHandler(client client.Client, dryRunner DryRunner) *ValidatingWebhookHandler
func (*ValidatingWebhookHandler) InjectDecoder ¶
func (v *ValidatingWebhookHandler) InjectDecoder(d *admission.Decoder) error
Click to show internal directories.
Click to hide internal directories.