validation

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelKeyServerClaimName      = "metal.ironcore.dev/server-claim-name"
	LabelKeyServerClaimNamespace = "metal.ironcore.dev/server-claim-namespace"

	AnnotationKeyMCMMachineRecreate = "metal.ironcore.dev/mcm-machine-recreate"
)

Variables

This section is empty.

Functions

func ValidateIPAddressClaim

func ValidateIPAddressClaim(ipClaim *capiv1beta1.IPAddressClaim, serverClaim *metalv1alpha1.ServerClaim, serverClaimName, serverClaimNamespace string) field.ErrorList

ValidateIPAddressClaim validates the IPAddressClaim for a given machine

func ValidateProviderSpecAndSecret

func ValidateProviderSpecAndSecret(spec *v1alpha1.ProviderSpec, secret *corev1.Secret, fldPath *field.Path) field.ErrorList

ValidateProviderSpecAndSecret validates the provider spec and provider secret

Types

This section is empty.

Jump to

Keyboard shortcuts

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