logpipeline

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: 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,
	variablesValidator validation.VariablesValidator,
	maxPipelinesValidator validation.MaxPipelinesValidator,
	fileValidator validation.FilesValidator,
	dryRunner DryRunner,
	logPipelineValidationConfig *telemetryv1alpha1.LogPipelineValidationConfig,
) *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