Documentation ¶
Overview ¶
Package validation provides validation rules for the ExternalDNS CRD.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrTypeNotSupported indicates that provided value is not currently supported. ErrTypeNotSupported = errors.New("type not supported") // ErrTypeInvalid indicates that provided value is invalid. ErrTypeInvalid = errors.New("type invalid") // ErrTypeDuplicated indicates that provided values must be unique. ErrTypeDuplicated = errors.New("type duplicated") // ErrTypeRequired indicates that value is not provided but it's mandatory. ErrTypeRequired = errors.New("type required") // ErrTypeNotInRange indicates that provided value is outside of defined range. ErrTypeNotInRange = errors.New("type not in range") )
Functions ¶
func ValidateDNSEndpoint ¶
func ValidateDNSEndpoint(dnsendpoint *v1.DNSEndpoint) error
ValidateDNSEndpoint validates if all DNSEndpoint fields are valid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.