validation

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Overview

Package validation contains functions to validate controller specifications

Package validation contains functions to validate controller specifications

Package validation contains functions to validate controller specifications

Package validation contains functions to validate controller specifications

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCloudProfileConfig

func ValidateCloudProfileConfig(profileSpec *gardencorev1beta1.CloudProfileSpec, profileConfig *apis.CloudProfileConfig) field.ErrorList

ValidateCloudProfileConfig validates a CloudProfileConfig object.

func ValidateControlPlaneConfig added in v0.3.0

func ValidateControlPlaneConfig(controlPlaneConfig *apis.ControlPlaneConfig, allowedZones, workerZones sets.String, version string, fldPath *field.Path) field.ErrorList

ValidateControlPlaneConfig validates a ControlPlaneConfig object.

func ValidateInfrastructureConfigSpec

func ValidateInfrastructureConfigSpec(spec *apis.InfrastructureConfig) []error

ValidateInfrastructureConfigSpec validates provider specification to check if all fields are present and valid

PARAMETERS spec *apis.InfrastructureConfig Provider specification to validate

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