validation

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCloudProfileConfig

func ValidateCloudProfileConfig(profileSpec *core.CloudProfileSpec, profileConfig *apiskubevirt.CloudProfileConfig) field.ErrorList

ValidateCloudProfileConfig validates a CloudProfileConfig object.

func ValidateCloudProviderSecret

func ValidateCloudProviderSecret(secret *corev1.Secret) error

ValidateCloudProviderSecret checks whether the given secret contains a valid kubeconfig.

func ValidateControlPlaneConfig

func ValidateControlPlaneConfig(config *apiskubevirt.ControlPlaneConfig, fldPath *field.Path) field.ErrorList

ValidateControlPlaneConfig validates a ControlPlaneConfig object.

func ValidateControlPlaneConfigUpdate

func ValidateControlPlaneConfigUpdate(oldConfig, newConfig *apiskubevirt.ControlPlaneConfig, fldPath *field.Path) field.ErrorList

ValidateControlPlaneConfigUpdate validates a ControlPlaneConfig object.

func ValidateInfrastructureConfig

func ValidateInfrastructureConfig(config *apiskubevirt.InfrastructureConfig, fldPath *field.Path) field.ErrorList

ValidateInfrastructureConfig validates a InfrastructureConfig object.

func ValidateInfrastructureConfigUpdate

func ValidateInfrastructureConfigUpdate(oldConfig, newConfig *apiskubevirt.InfrastructureConfig, fldPath *field.Path) field.ErrorList

ValidateInfrastructureConfigUpdate validates a InfrastructureConfig object.

func ValidateNetworking

func ValidateNetworking(networking core.Networking, fldPath *field.Path) field.ErrorList

ValidateNetworking validates the network settings of a Shoot.

func ValidateWorkerConfig

func ValidateWorkerConfig(config *apiskubevirt.WorkerConfig, dataVolumes []gardenercore.DataVolume, fldPath *field.Path) field.ErrorList

ValidateWorkerConfig validates a WorkerConfig object.

func ValidateWorkerConfigUpdate

func ValidateWorkerConfigUpdate(oldConfig, newConfig *apiskubevirt.WorkerConfig, fldPath *field.Path) field.ErrorList

ValidateWorkerConfigUpdate validates a WorkerConfig object.

func ValidateWorkers

func ValidateWorkers(workers []core.Worker, fldPath *field.Path) field.ErrorList

ValidateWorkers validates the workers of a Shoot.

func ValidateWorkersUpdate

func ValidateWorkersUpdate(oldWorkers, newWorkers []core.Worker, fldPath *field.Path) field.ErrorList

ValidateWorkersUpdate validates updates on Workers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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