validation

package
v3.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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