logparser

package
v0.0.0-...-44822b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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

type ValidatingWebhookHandler struct {
	client.Client
	// contains filtered or unexported fields
}

+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, parserValidator validation.ParserValidator, dryRunner DryRunner) *ValidatingWebhookHandler

func (*ValidatingWebhookHandler) Handle

func (*ValidatingWebhookHandler) InjectDecoder

func (v *ValidatingWebhookHandler) InjectDecoder(d *admission.Decoder) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL