validation

package
v1.50.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 12 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 ValidateBackupBucketStatus

func ValidateBackupBucketStatus(status *extensionsv1alpha1.BackupBucketStatus, fldPath *field.Path) field.ErrorList

ValidateBackupBucketStatus validates the status of a BackupBucket object.

func ValidateBackupBucketStatusUpdate

func ValidateBackupBucketStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.BackupBucketStatus, fldPath *field.Path) field.ErrorList

ValidateBackupBucketStatusUpdate validates the status field 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 ValidateBackupEntryStatus

func ValidateBackupEntryStatus(status *extensionsv1alpha1.BackupEntryStatus, fldPath *field.Path) field.ErrorList

ValidateBackupEntryStatus validates the status of a BackupEntry object.

func ValidateBackupEntryStatusUpdate

func ValidateBackupEntryStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.BackupEntryStatus, fldPath *field.Path) field.ErrorList

ValidateBackupEntryStatusUpdate validates the status field 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 ValidateBastionStatus added in v1.22.0

func ValidateBastionStatus(status *extensionsv1alpha1.BastionStatus, fldPath *field.Path) field.ErrorList

ValidateBastionStatus validates the status of a Bastion object.

func ValidateBastionStatusUpdate added in v1.22.0

func ValidateBastionStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.BastionStatus, fldPath *field.Path) field.ErrorList

ValidateBastionStatusUpdate validates the status field 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 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 ValidateContainerRuntimeStatus added in v1.40.0

func ValidateContainerRuntimeStatus(status *extensionsv1alpha1.ContainerRuntimeStatus, fldPath *field.Path) field.ErrorList

ValidateContainerRuntimeStatus validates the status of a ContainerRuntime object.

func ValidateContainerRuntimeStatusUpdate added in v1.40.0

func ValidateContainerRuntimeStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.ContainerRuntimeStatus, fldPath *field.Path) field.ErrorList

ValidateContainerRuntimeStatusUpdate validates the status 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 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 ValidateControlPlaneStatus

func ValidateControlPlaneStatus(status *extensionsv1alpha1.ControlPlaneStatus, fldPath *field.Path) field.ErrorList

ValidateControlPlaneStatus validates the status of a ControlPlane object.

func ValidateControlPlaneStatusUpdate

func ValidateControlPlaneStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.ControlPlaneStatus, fldPath *field.Path) field.ErrorList

ValidateControlPlaneStatusUpdate validates the status field 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 ValidateDNSRecordStatus added in v1.27.0

func ValidateDNSRecordStatus(status *extensionsv1alpha1.DNSRecordStatus, fldPath *field.Path) field.ErrorList

ValidateDNSRecordStatus validates the status of a DNSRecord object.

func ValidateDNSRecordStatusUpdate added in v1.27.0

func ValidateDNSRecordStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.DNSRecordStatus, fldPath *field.Path) field.ErrorList

ValidateDNSRecordStatusUpdate validates the status field 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 ValidateExtensionStatus

func ValidateExtensionStatus(status *extensionsv1alpha1.ExtensionStatus, fldPath *field.Path) field.ErrorList

ValidateExtensionStatus validates the status of a Extension object.

func ValidateExtensionStatusUpdate

func ValidateExtensionStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.ExtensionStatus, fldPath *field.Path) field.ErrorList

ValidateExtensionStatusUpdate validates the status field 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 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 ValidateInfrastructureStatus

func ValidateInfrastructureStatus(status *extensionsv1alpha1.InfrastructureStatus, fldPath *field.Path) field.ErrorList

ValidateInfrastructureStatus validates the status of a Infrastructure object.

func ValidateInfrastructureStatusUpdate

func ValidateInfrastructureStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.InfrastructureStatus, fldPath *field.Path) field.ErrorList

ValidateInfrastructureStatusUpdate validates the status field 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 ValidateNetworkStatus

func ValidateNetworkStatus(status *extensionsv1alpha1.NetworkStatus, fldPath *field.Path) field.ErrorList

ValidateNetworkStatus validates the status of a Network object.

func ValidateNetworkStatusUpdate

func ValidateNetworkStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.NetworkStatus, fldPath *field.Path) field.ErrorList

ValidateNetworkStatusUpdate validates the status field 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, 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, fldPath *field.Path) field.ErrorList

ValidateOperatingSystemConfigStatus validates the status of a OperatingSystemConfig object.

func ValidateOperatingSystemConfigStatusUpdate

func ValidateOperatingSystemConfigStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.OperatingSystemConfigStatus, fldPath *field.Path) field.ErrorList

ValidateOperatingSystemConfigStatusUpdate validates the status field of a OperatingSystemConfig object before an update.

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, 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 ValidateWorkerStatus

func ValidateWorkerStatus(status *extensionsv1alpha1.WorkerStatus, fldPath *field.Path) field.ErrorList

ValidateWorkerStatus validates the status of a Worker object.

func ValidateWorkerStatusUpdate

func ValidateWorkerStatusUpdate(newStatus, oldStatus *extensionsv1alpha1.WorkerStatus, fldPath *field.Path) field.ErrorList

ValidateWorkerStatusUpdate validates the status field 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