Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitString ¶
SplitString splits the given yaml doc if it's multipart document.
Types ¶
type Validator ¶
type Validator struct { // If enabled, resources without a validator will be ignored. Otherwise, they will fail. SkipMissing bool // contains filtered or unexported fields }
Validator returns a new validator for custom resources Warning: this is meant for usage in tests only
func NewIstioValidator ¶
func NewValidatorFromCRDs ¶
func NewValidatorFromCRDs(crds ...apiextensions.CustomResourceDefinition) (*Validator, error)
func NewValidatorFromFiles ¶
Click to show internal directories.
Click to hide internal directories.