validation

package
v0.0.0-...-0e4b601 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyStepList             = errors.New("step list is empty")
	ErrSecretReferenceNotAllowed = errors.New("references to secrets are not allowed")
	ErrRadixVolumeNameNotAllowed = errors.New("volume name starting with radix are not allowed")
	ErrHostPathNotAllowed        = errors.New("HostPath is not allowed")

	ErrIllegalTaskAnnotation = errors.New("annotation is not allowed")
	ErrIllegalTaskLabel      = errors.New("label is not allowed")
	ErrInvalidTaskLabelValue = errors.New("label value is not allowed")
	ErrSkipStepNotFound      = errors.New("skip step is not found in task")
)

Functions

func ValidatePipeline

func ValidatePipeline(pipeline *pipelinev1.Pipeline) error

ValidatePipeline Validate Pipeline

func ValidateTask

func ValidateTask(task *pipelinev1.Task) error

ValidateTask Validate task

Types

This section is empty.

Jump to

Keyboard shortcuts

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