Help us shape the future of Go! Take the 2026 Go Developer Survey

validation

package
v1.154.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateBackupBucket

func ValidateBackupBucket(bb *extensionsv1alpha1.BackupBucket) field.ErrorList

ValidateBackupBucket validates a BackupBucket object.

func ValidateBackupBucketSpec

func ValidateBackupBucketSpec(spec *extensionsv1alpha1.BackupBucketSpec, fldPath *field.Path) field.ErrorList

ValidateBackupBucketSpec validates the specification of a BackupBucket object.

func ValidateBackupBucketSpecUpdate

func ValidateBackupBucketSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.BackupBucketSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateBackupBucketSpecUpdate validates the spec of a BackupBucket object before an update.

func ValidateBackupBucketUpdate

func ValidateBackupBucketUpdate(newBackupBucket, oldBackupBucket *extensionsv1alpha1.BackupBucket) field.ErrorList

ValidateBackupBucketUpdate validates a BackupBucket object before an update.

func ValidateBackupEntry

func ValidateBackupEntry(be *extensionsv1alpha1.BackupEntry) field.ErrorList

ValidateBackupEntry validates a BackupEntry object.

func ValidateBackupEntrySpec

func ValidateBackupEntrySpec(spec *extensionsv1alpha1.BackupEntrySpec, fldPath *field.Path) field.ErrorList

ValidateBackupEntrySpec validates the specification of a BackupEntry object.

func ValidateBackupEntrySpecUpdate

func ValidateBackupEntrySpecUpdate(newSpec, oldSpec *extensionsv1alpha1.BackupEntrySpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateBackupEntrySpecUpdate validates the spec of a BackupEntry object before an update.

func ValidateBackupEntryUpdate

func ValidateBackupEntryUpdate(newBackupEntry, oldBackupEntry *extensionsv1alpha1.BackupEntry) field.ErrorList

ValidateBackupEntryUpdate validates a BackupEntry object before an update.

func ValidateBastion

func ValidateBastion(bastion *extensionsv1alpha1.Bastion) field.ErrorList

ValidateBastion validates a Bastion object.

func ValidateBastionSpec

func ValidateBastionSpec(spec *extensionsv1alpha1.BastionSpec, fldPath *field.Path) field.ErrorList

ValidateBastionSpec validates the specification of a Bastion object.

func ValidateBastionSpecUpdate

func ValidateBastionSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.BastionSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateBastionSpecUpdate validates the spec of a Bastion object before an update.

func ValidateBastionUpdate

func ValidateBastionUpdate(newBastion, oldBastion *extensionsv1alpha1.Bastion) field.ErrorList

ValidateBastionUpdate validates a Bastion object before an update.

func ValidateCRIConfig

ValidateCRIConfig validates the spec of a CRIConfig object.

func ValidateContainerRuntime

func ValidateContainerRuntime(cr *extensionsv1alpha1.ContainerRuntime) field.ErrorList

ValidateContainerRuntime validates a ContainerRuntime object.

func ValidateContainerRuntimeSpec

func ValidateContainerRuntimeSpec(spec *extensionsv1alpha1.ContainerRuntimeSpec, fldPath *field.Path) field.ErrorList

ValidateContainerRuntimeSpec validates the spec of a ContainerRuntime object.

func ValidateContainerRuntimeSpecUpdate

func ValidateContainerRuntimeSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.ContainerRuntimeSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateContainerRuntimeSpecUpdate validates the spec of a ContainerRuntime object before an update.

func ValidateContainerRuntimeUpdate

func ValidateContainerRuntimeUpdate(newContainerRuntime, oldContainerRuntime *extensionsv1alpha1.ContainerRuntime) field.ErrorList

ValidateContainerRuntimeUpdate validates a ContainerRuntime object before an update.

func ValidateContainerdConfig

ValidateContainerdConfig validates the spec of a ContainerdConfig object.

func ValidateControlPlane

func ValidateControlPlane(cp *extensionsv1alpha1.ControlPlane) field.ErrorList

ValidateControlPlane validates a ControlPlane object.

func ValidateControlPlaneSpec

func ValidateControlPlaneSpec(spec *extensionsv1alpha1.ControlPlaneSpec, fldPath *field.Path) field.ErrorList

ValidateControlPlaneSpec validates the specification of a ControlPlane object.

func ValidateControlPlaneSpecUpdate

func ValidateControlPlaneSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.ControlPlaneSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateControlPlaneSpecUpdate validates the spec of a ControlPlane object before an update.

func ValidateControlPlaneUpdate

func ValidateControlPlaneUpdate(newControlPlane, oldControlPlane *extensionsv1alpha1.ControlPlane) field.ErrorList

ValidateControlPlaneUpdate validates a ControlPlane object before an update.

func ValidateDNSRecord

func ValidateDNSRecord(dns *extensionsv1alpha1.DNSRecord) field.ErrorList

ValidateDNSRecord validates a DNSRecord object.

func ValidateDNSRecordSpec

func ValidateDNSRecordSpec(spec *extensionsv1alpha1.DNSRecordSpec, fldPath *field.Path) field.ErrorList

ValidateDNSRecordSpec validates the specification of a DNSRecord object.

func ValidateDNSRecordSpecUpdate

func ValidateDNSRecordSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.DNSRecordSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateDNSRecordSpecUpdate validates the spec of a DNSRecord object before an update.

func ValidateDNSRecordUpdate

func ValidateDNSRecordUpdate(newDNSRecord, oldDNSRecord *extensionsv1alpha1.DNSRecord) field.ErrorList

ValidateDNSRecordUpdate validates a DNSRecord object before an update.

func ValidateExtension

func ValidateExtension(ext *extensionsv1alpha1.Extension) field.ErrorList

ValidateExtension validates a Extension object.

func ValidateExtensionSpec

func ValidateExtensionSpec(spec *extensionsv1alpha1.ExtensionSpec, fldPath *field.Path) field.ErrorList

ValidateExtensionSpec validates the specification of a Extension object.

func ValidateExtensionSpecUpdate

func ValidateExtensionSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.ExtensionSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateExtensionSpecUpdate validates the spec of a Extension object before an update.

func ValidateExtensionUpdate

func ValidateExtensionUpdate(newExtension, oldExtension *extensionsv1alpha1.Extension) field.ErrorList

ValidateExtensionUpdate validates a Extension object before an update.

func ValidateFiles

func ValidateFiles(files []extensionsv1alpha1.File, fldPath *field.Path) field.ErrorList

ValidateFiles validates operating system config files.

func ValidateIPFamilies

func ValidateIPFamilies(ipFamilies []extensionsv1alpha1.IPFamily, fldPath *field.Path) field.ErrorList

ValidateIPFamilies validates the given list of IP families for valid values and combinations.

func ValidateIPFamiliesUpdate

func ValidateIPFamiliesUpdate(newIPFamilies, oldIPFamilies []extensionsv1alpha1.IPFamily, fldPath *field.Path) field.ErrorList

ValidateIPFamiliesUpdate validates the update of IP families to ensure only allowed transitions.

func ValidateInfrastructure

func ValidateInfrastructure(infra *extensionsv1alpha1.Infrastructure) field.ErrorList

ValidateInfrastructure validates an Infrastructure object.

func ValidateInfrastructureSpec

func ValidateInfrastructureSpec(spec *extensionsv1alpha1.InfrastructureSpec, fldPath *field.Path) field.ErrorList

ValidateInfrastructureSpec validates the specification of an Infrastructure object.

func ValidateInfrastructureSpecUpdate

func ValidateInfrastructureSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.InfrastructureSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateInfrastructureSpecUpdate validates the spec of an Infrastructure object before an update.

func ValidateInfrastructureUpdate

func ValidateInfrastructureUpdate(newInfrastructure, oldInfrastructure *extensionsv1alpha1.Infrastructure) field.ErrorList

ValidateInfrastructureUpdate validates an Infrastructure object before an update.

func ValidateNetwork

func ValidateNetwork(network *extensionsv1alpha1.Network) field.ErrorList

ValidateNetwork validates a Network object.

func ValidateNetworkSpec

func ValidateNetworkSpec(spec *extensionsv1alpha1.NetworkSpec, fldPath *field.Path) field.ErrorList

ValidateNetworkSpec validates the specification of a Network object.

func ValidateNetworkSpecUpdate

func ValidateNetworkSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.NetworkSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateNetworkSpecUpdate validates the spec of a Network object before an update.

func ValidateNetworkUpdate

func ValidateNetworkUpdate(newNetwork, oldNetwork *extensionsv1alpha1.Network) field.ErrorList

ValidateNetworkUpdate validates a Network object before an update.

func ValidateOperatingSystemConfig

func ValidateOperatingSystemConfig(osc *extensionsv1alpha1.OperatingSystemConfig) field.ErrorList

ValidateOperatingSystemConfig validates a OperatingSystemConfig object.

func ValidateOperatingSystemConfigSpec

func ValidateOperatingSystemConfigSpec(spec *extensionsv1alpha1.OperatingSystemConfigSpec, pathsFromFiles sets.Set[string], fldPath *field.Path) field.ErrorList

ValidateOperatingSystemConfigSpec validates the specification of a OperatingSystemConfig object.

func ValidateOperatingSystemConfigSpecUpdate

func ValidateOperatingSystemConfigSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.OperatingSystemConfigSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateOperatingSystemConfigSpecUpdate validates the spec of a OperatingSystemConfig object before an update.

func ValidateOperatingSystemConfigStatus

func ValidateOperatingSystemConfigStatus(status *extensionsv1alpha1.OperatingSystemConfigStatus, pathsFromFiles sets.Set[string], fldPath *field.Path) field.ErrorList

ValidateOperatingSystemConfigStatus validates the status of a OperatingSystemConfig object.

func ValidateOperatingSystemConfigUpdate

func ValidateOperatingSystemConfigUpdate(newOperatingSystemConfig, oldOperatingSystemConfig *extensionsv1alpha1.OperatingSystemConfig) field.ErrorList

ValidateOperatingSystemConfigUpdate validates a OperatingSystemConfig object before an update.

func ValidateSelfHostedShootExposure

func ValidateSelfHostedShootExposure(exposure *extensionsv1alpha1.SelfHostedShootExposure) field.ErrorList

ValidateSelfHostedShootExposure validates a SelfHostedShootExposure object.

func ValidateSelfHostedShootExposureSpec

func ValidateSelfHostedShootExposureSpec(spec *extensionsv1alpha1.SelfHostedShootExposureSpec, namespace string, fldPath *field.Path) field.ErrorList

ValidateSelfHostedShootExposureSpec validates the specification of a SelfHostedShootExposure object.

func ValidateSelfHostedShootExposureSpecUpdate

func ValidateSelfHostedShootExposureSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.SelfHostedShootExposureSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateSelfHostedShootExposureSpecUpdate validates the spec of an SelfHostedShootExposure object before an update.

func ValidateSelfHostedShootExposureUpdate

func ValidateSelfHostedShootExposureUpdate(newSelfHostedShootExposure, oldSelfHostedShootExposure *extensionsv1alpha1.SelfHostedShootExposure) field.ErrorList

ValidateSelfHostedShootExposureUpdate validates a SelfHostedShootExposure object before an update.

func ValidateUnits

func ValidateUnits(units []extensionsv1alpha1.Unit, pathsFromFiles sets.Set[string], fldPath *field.Path) field.ErrorList

ValidateUnits validates operating system config units.

func ValidateWorker

func ValidateWorker(worker *extensionsv1alpha1.Worker) field.ErrorList

ValidateWorker validates a Worker object.

func ValidateWorkerPools

func ValidateWorkerPools(pools []extensionsv1alpha1.WorkerPool, fldPath *field.Path) field.ErrorList

ValidateWorkerPools validates a list of worker pools.

func ValidateWorkerSpec

func ValidateWorkerSpec(spec *extensionsv1alpha1.WorkerSpec, fldPath *field.Path) field.ErrorList

ValidateWorkerSpec validates the specification of a Worker object.

func ValidateWorkerSpecUpdate

func ValidateWorkerSpecUpdate(newSpec, oldSpec *extensionsv1alpha1.WorkerSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

ValidateWorkerSpecUpdate validates the spec of a Worker object before an update.

func ValidateWorkerUpdate

func ValidateWorkerUpdate(newWorker, oldWorker *extensionsv1alpha1.Worker) field.ErrorList

ValidateWorkerUpdate validates a Worker object before an update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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