Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UpdateSnapshotKey = ContextKey("update-snapshot")
UpdateSnapshotKey defines a signal to the snapshot watcher to update the snapshot its checking.
Functions ¶
func Validate ¶
Validate takes a source CRD and a sample file and validates its contents against the CRD definition.
func ValidateCRDValidation ¶ added in v0.11.0
func ValidateCRDValidation(crd *apiextensions.CustomResourceDefinition, sampleFile []byte) error
Types ¶
type ContextKey ¶
type ContextKey string
Click to show internal directories.
Click to hide internal directories.