logparser

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 9 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, 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