webhook

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 15 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const PodSpecDryRunAnnotation = "features.knative.dev/podspec-dryrun"

PodSpecDryRunAnnotation gates the podspec dryrun feature and runs with the value 'enabled'

Variables

This section is empty.

Functions

func ValidateRevisionTemplate added in v0.15.0

func ValidateRevisionTemplate(ctx context.Context, uns *unstructured.Unstructured) error

ValidateRevisionTemplate runs extra validation on Service resources

Types

type DryRunMode added in v0.15.0

type DryRunMode string

DryRunMode represents possible values of the PodSpecDryRunAnnotation

const (
	// DryRunEnabled will run the dryrun logic. Will succeed if dryrun is unsupported.
	DryRunEnabled DryRunMode = "enabled"

	// DryRunStrict will run the dryrun logic and fail if dryrun is not supported.
	DryRunStrict DryRunMode = "strict"
)

Jump to

Keyboard shortcuts

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