validation

package
v0.0.0-...-8ffad75 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePrefix

func ValidatePrefix(prefix *ipam.Prefix) field.ErrorList

func ValidatePrefixAllocation

func ValidatePrefixAllocation(prefixAllocation *ipam.PrefixAllocation) field.ErrorList

func ValidatePrefixAllocationStatus

func ValidatePrefixAllocationStatus(status *ipam.PrefixAllocationStatus, fldPath *field.Path) field.ErrorList

func ValidatePrefixAllocationStatusUpdate

func ValidatePrefixAllocationStatusUpdate(newPrefixAllocation, oldPrefixAllocation *ipam.PrefixAllocation) field.ErrorList

func ValidatePrefixAllocationUpdate

func ValidatePrefixAllocationUpdate(newPrefixAllocation, oldPrefixAllocation *ipam.PrefixAllocation) field.ErrorList

func ValidatePrefixSpec

func ValidatePrefixSpec(spec *ipam.PrefixSpec, fldPath *field.Path) field.ErrorList

func ValidatePrefixStatus

func ValidatePrefixStatus(status *ipam.PrefixStatus, fldPath *field.Path) field.ErrorList

func ValidatePrefixStatusUpdate

func ValidatePrefixStatusUpdate(newPrefix, oldPrefix *ipam.Prefix) field.ErrorList

func ValidatePrefixTemplateSpec

func ValidatePrefixTemplateSpec(spec *ipam.PrefixTemplateSpec, fldPath *field.Path) field.ErrorList

ValidatePrefixTemplateSpec validates the spec of a prefix template.

func ValidatePrefixUpdate

func ValidatePrefixUpdate(newPrefix, oldPrefix *ipam.Prefix) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

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