logpipeline

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

View Source
const (
	StatusReasonConfigurationError = "InvalidConfiguration"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DryRunner

type DryRunner interface {
	RunPipeline(ctx context.Context, pipeline *telemetryv1alpha1.LogPipeline) error
}

type ValidatingWebhookHandler

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

+kubebuilder:webhook:path=/validate-logpipeline,mutating=false,failurePolicy=fail,sideEffects=None,groups=telemetry.kyma-project.io,resources=logpipelines,verbs=create;update,versions=v1alpha1,name=vlogpipeline.kb.io,admissionReviewVersions=v1

func NewValidatingWebhookHandler

func NewValidatingWebhookHandler(
	client client.Client,
	inputValidator validation.InputValidator,
	variablesValidator validation.VariablesValidator,
	filterValidator validation.FilterValidator,
	maxPipelinesValidator validation.MaxPipelinesValidator,
	outputValidator validation.OutputValidator,
	fileValidator validation.FilesValidator,
	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