import "istio.io/istio/pkg/config/crd"
type Validator struct { // If enabled, resources without a validator will be ignored. Otherwise, they will fail. SkipMissing bool Scheme *runtime.Scheme // contains filtered or unexported fields }
Validator returns a new validator for custom resources Warning: this is meant for usage in tests only
func NewValidatorFromCRDs(crds ...apiextensions.CustomResourceDefinition) (*Validator, error)
Package crd imports 24 packages (graph). Updated 2021-01-09. Refresh now. Tools for package owners.