validation

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ValidateDomain

func ValidateDomain(c *corev1.Domain) field.ErrorList

func ValidateLease

func ValidateLease(lease *coordinationv1.Lease) field.ErrorList

ValidateLease validates a Lease.

func ValidateLeaseSpec

func ValidateLeaseSpec(spec *coordinationv1.LeaseSpec, fldPath *field.Path) field.ErrorList

ValidateLeaseSpec validates spec of Lease.

func ValidateLeaseUpdate

func ValidateLeaseUpdate(lease, oldLease *coordinationv1.Lease) field.ErrorList

ValidateLeaseUpdate validates an update of Lease object.

func ValidateNode

func ValidateNode(c *corev1.Node) field.ErrorList

func ValidateObjectMeta

func ValidateObjectMeta(meta *metav1.ObjectMeta, requiresNamespace bool, nameFn ValidateNameFunc, fldPath *field.Path) field.ErrorList

func ValidateObjectMetaUpdate

func ValidateObjectMetaUpdate(newMeta, oldMeta *metav1.ObjectMeta, fldPath *field.Path) field.ErrorList

ValidateObjectMetaUpdate validates an object's metadata when updated

Types

Jump to

Keyboard shortcuts

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