apiserver

package
v0.0.0-...-4fc8c9b Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

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