validation

package
v0.0.0-...-133fb1b Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCloudProfile

func ValidateCloudProfile(cloudProfile *garden.CloudProfile) field.ErrorList

ValidateCloudProfile validates a CloudProfile object.

func ValidateCloudProfileSpec

func ValidateCloudProfileSpec(spec *garden.CloudProfileSpec, fldPath *field.Path) field.ErrorList

ValidateCloudProfileSpec validates the specification of a CloudProfile object.

func ValidateCloudProfileUpdate

func ValidateCloudProfileUpdate(newProfile, oldProfile *garden.CloudProfile) field.ErrorList

ValidateCloudProfileUpdate validates a CloudProfile object before an update.

func ValidateCrossSecretBinding

func ValidateCrossSecretBinding(binding *garden.CrossSecretBinding) field.ErrorList

ValidateCrossSecretBinding validates a CrossSecretBinding object.

func ValidateCrossSecretBindingUpdate

func ValidateCrossSecretBindingUpdate(newBinding, oldBinding *garden.CrossSecretBinding) field.ErrorList

ValidateCrossSecretBindingUpdate validates a CrossSecretBinding object before an update.

func ValidateName

func ValidateName(name string, prefix bool) []string

ValidateName is a helper function for validating that a name is a DNS sub domain.

func ValidatePrivateSecretBinding

func ValidatePrivateSecretBinding(binding *garden.PrivateSecretBinding) field.ErrorList

ValidatePrivateSecretBinding validates a PrivateSecretBinding object.

func ValidatePrivateSecretBindingUpdate

func ValidatePrivateSecretBindingUpdate(newBinding, oldBinding *garden.PrivateSecretBinding) field.ErrorList

ValidatePrivateSecretBindingUpdate validates a PrivateSecretBinding object before an update.

func ValidateQuota

func ValidateQuota(quota *garden.Quota) field.ErrorList

ValidateQuota validates a Quota object.

func ValidateQuotaSpec

func ValidateQuotaSpec(quotaSpec *garden.QuotaSpec, fldPath *field.Path) field.ErrorList

ValidateQuotaSpec validates the specification of a Quota object.

func ValidateQuotaStatusUpdate

func ValidateQuotaStatusUpdate(newQuota, oldQuota *garden.Quota) field.ErrorList

ValidateQuotaStatusUpdate validates the status field of a Quota object.

func ValidateQuotaUpdate

func ValidateQuotaUpdate(newQuota, oldQuota *garden.Quota) field.ErrorList

ValidateQuotaUpdate validates a Quota object before an update.

func ValidateSeed

func ValidateSeed(seed *garden.Seed) field.ErrorList

ValidateSeed validates a Seed object.

func ValidateSeedSpec

func ValidateSeedSpec(seedSpec *garden.SeedSpec, fldPath *field.Path) field.ErrorList

ValidateSeedSpec validates the specification of a Seed object.

func ValidateSeedUpdate

func ValidateSeedUpdate(newSeed, oldSeed *garden.Seed) field.ErrorList

ValidateSeedUpdate validates a Seed object before an update.

func ValidateShoot

func ValidateShoot(shoot *garden.Shoot) field.ErrorList

ValidateShoot validates a Shoot object.

func ValidateShootStatusUpdate

func ValidateShootStatusUpdate(newShoot, oldShoot *garden.Shoot) field.ErrorList

ValidateShootStatusUpdate validates the status field of a Shoot object.

func ValidateShootUpdate

func ValidateShootUpdate(newShoot, oldShoot *garden.Shoot) field.ErrorList

ValidateShootUpdate validates a Shoot 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