validation

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 6 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(spec *extensionsv1alpha1.BackupBucketStatus, fldPath *field.Path) field.ErrorList

ValidateBackupBucketStatus validates the status of a BackupBucket object.

func ValidateBackupBucketStatusUpdate

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

ValidateBackupBucketStatusUpdate validates the status field of a BackupBucket object.

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(spec *extensionsv1alpha1.BackupEntryStatus, fldPath *field.Path) field.ErrorList

ValidateBackupEntryStatus validates the status of a BackupEntry object.

func ValidateBackupEntryStatusUpdate

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

ValidateBackupEntryStatusUpdate validates the status field of a BackupEntry object.

func ValidateBackupEntryUpdate

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

ValidateBackupEntryUpdate validates a BackupEntry 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(spec *extensionsv1alpha1.ControlPlaneStatus, fldPath *field.Path) field.ErrorList

ValidateControlPlaneStatus validates the status of a ControlPlane object.

func ValidateControlPlaneStatusUpdate

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

ValidateControlPlaneStatusUpdate validates the status field of a ControlPlane object.

func ValidateControlPlaneUpdate

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

ValidateControlPlaneUpdate validates a ControlPlane 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(spec *extensionsv1alpha1.ExtensionStatus, fldPath *field.Path) field.ErrorList

ValidateExtensionStatus validates the status of a Extension object.

func ValidateExtensionStatusUpdate

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

ValidateExtensionStatusUpdate validates the status field of a Extension object.

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(spec *extensionsv1alpha1.InfrastructureStatus, fldPath *field.Path) field.ErrorList

ValidateInfrastructureStatus validates the status of a Infrastructure object.

func ValidateInfrastructureStatusUpdate

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

ValidateInfrastructureStatusUpdate validates the status field of a Infrastructure object.

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(spec *extensionsv1alpha1.NetworkStatus, fldPath *field.Path) field.ErrorList

ValidateNetworkStatus validates the status of a Network object.

func ValidateNetworkStatusUpdate

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

ValidateNetworkStatusUpdate validates the status field of a Network object.

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(spec *extensionsv1alpha1.OperatingSystemConfigStatus, fldPath *field.Path) field.ErrorList

ValidateOperatingSystemConfigStatus validates the status of a OperatingSystemConfig object.

func ValidateOperatingSystemConfigStatusUpdate

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

ValidateOperatingSystemConfigStatusUpdate validates the status field 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, 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(spec *extensionsv1alpha1.WorkerStatus, fldPath *field.Path) field.ErrorList

ValidateWorkerStatus validates the status of a Worker object.

func ValidateWorkerStatusUpdate

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

ValidateWorkerStatusUpdate validates the status field of a Worker object.

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