validation

package
v1.105.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

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(new, old *extensionsv1alpha1.BackupBucketSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

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

func ValidateBackupBucketUpdate

func ValidateBackupBucketUpdate(new, old *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(new, old *extensionsv1alpha1.BackupEntrySpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

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

func ValidateBackupEntryUpdate

func ValidateBackupEntryUpdate(new, old *extensionsv1alpha1.BackupEntry) field.ErrorList

ValidateBackupEntryUpdate validates a BackupEntry object before an update.

func ValidateBastion added in v1.22.0

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

ValidateBastion validates a Bastion object.

func ValidateBastionSpec added in v1.22.0

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

ValidateBastionSpec validates the specification of a Bastion object.

func ValidateBastionSpecUpdate added in v1.22.0

func ValidateBastionSpecUpdate(new, old *extensionsv1alpha1.BastionSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

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

func ValidateBastionUpdate added in v1.22.0

func ValidateBastionUpdate(new, old *extensionsv1alpha1.Bastion) field.ErrorList

ValidateBastionUpdate validates a Bastion object before an update.

func ValidateCRIConfig added in v1.100.0

ValidateCRIConfig validates the spec of a CRIConfig object.

func ValidateContainerRuntime added in v1.31.0

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

ValidateContainerRuntime validates a ContainerRuntime object.

func ValidateContainerRuntimeSpec added in v1.40.0

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

ValidateContainerRuntimeSpec validates the spec of a ContainerRuntime object.

func ValidateContainerRuntimeSpecUpdate added in v1.40.0

func ValidateContainerRuntimeSpecUpdate(new, old *extensionsv1alpha1.ContainerRuntimeSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

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

func ValidateContainerRuntimeUpdate added in v1.31.0

func ValidateContainerRuntimeUpdate(new, old *extensionsv1alpha1.ContainerRuntime) field.ErrorList

ValidateContainerRuntimeUpdate validates a ContainerRuntime object before an update.

func ValidateContainerdConfig added in v1.100.0

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(new, old *extensionsv1alpha1.ControlPlaneSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

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

func ValidateControlPlaneUpdate

func ValidateControlPlaneUpdate(new, old *extensionsv1alpha1.ControlPlane) field.ErrorList

ValidateControlPlaneUpdate validates a ControlPlane object before an update.

func ValidateDNSRecord added in v1.27.0

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

ValidateDNSRecord validates a DNSRecord object.

func ValidateDNSRecordSpec added in v1.27.0

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

ValidateDNSRecordSpec validates the specification of a DNSRecord object.

func ValidateDNSRecordSpecUpdate added in v1.27.0

func ValidateDNSRecordSpecUpdate(new, old *extensionsv1alpha1.DNSRecordSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

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

func ValidateDNSRecordUpdate added in v1.27.0

func ValidateDNSRecordUpdate(new, old *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(new, old *extensionsv1alpha1.ExtensionSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

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

func ValidateExtensionUpdate

func ValidateExtensionUpdate(new, old *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 added in v1.63.0

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

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

func ValidateInfrastructure

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

ValidateInfrastructure validates a Infrastructure object.

func ValidateInfrastructureSpec

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

ValidateInfrastructureSpec validates the specification of a Infrastructure object.

func ValidateInfrastructureSpecUpdate

func ValidateInfrastructureSpecUpdate(new, old *extensionsv1alpha1.InfrastructureSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

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

func ValidateInfrastructureUpdate

func ValidateInfrastructureUpdate(new, old *extensionsv1alpha1.Infrastructure) field.ErrorList

ValidateInfrastructureUpdate validates a 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(new, old *extensionsv1alpha1.NetworkSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

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

func ValidateNetworkUpdate

func ValidateNetworkUpdate(new, old *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(new, old *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(new, old *extensionsv1alpha1.OperatingSystemConfig) field.ErrorList

ValidateOperatingSystemConfigUpdate validates a OperatingSystemConfig 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(new, old *extensionsv1alpha1.WorkerSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList

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

func ValidateWorkerUpdate

func ValidateWorkerUpdate(new, old *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