apiserver

package
v0.56.6 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrReferencedObjectValidationFailed = errors.New("validation failed for referenced object")
	ErrCouldntValidateObjectRetryable   = errors.New("retryable error validating referenced object")
	ErrCouldntValidateObjectPermanent   = errors.New("permanent error validating referenced object")
)

Functions

func DryRunValidate

func DryRunValidate(ctx context.Context, namespace string, obj runtime.Object, tekton clientset.Interface) error

DryRunValidate validates the obj by issuing a dry-run create request for it in the given namespace. This allows validating admission webhooks to process the object without actually creating it. obj must be a v1/v1beta1 Task or Pipeline.

Types

This section is empty.

Jump to

Keyboard shortcuts

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