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 ¶
+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) InjectDecoder ¶
func (v *ValidatingWebhookHandler) InjectDecoder(d *admission.Decoder) error
Click to show internal directories.
Click to hide internal directories.