Documentation ¶
Index ¶
- func IsNotMoreThan100Percent(intOrStringValue intstr.IntOrString, fldPath *field.Path) field.ErrorList
- func ValidateBackupInfrastructure(backupInfrastructure *garden.BackupInfrastructure) field.ErrorList
- func ValidateBackupInfrastructureSpec(spec *garden.BackupInfrastructureSpec, fldPath *field.Path) field.ErrorList
- func ValidateBackupInfrastructureSpecUpdate(newSpec, oldSpec *garden.BackupInfrastructureSpec, deletionTimestampSet bool, ...) field.ErrorList
- func ValidateBackupInfrastructureStatusUpdate(newBackupInfrastructure, oldBackupInfrastructure *garden.BackupInfrastructure) field.ErrorList
- func ValidateBackupInfrastructureUpdate(newBackupInfrastructure, oldBackupInfrastructure *garden.BackupInfrastructure) field.ErrorList
- func ValidateCloudProfile(cloudProfile *garden.CloudProfile) field.ErrorList
- func ValidateCloudProfileSpec(spec *garden.CloudProfileSpec, fldPath *field.Path) field.ErrorList
- func ValidateCloudProfileUpdate(newProfile, oldProfile *garden.CloudProfile) field.ErrorList
- func ValidateHibernation(hibernation *garden.Hibernation, fldPath *field.Path) field.ErrorList
- func ValidateHibernationCronSpec(seenSpecs sets.String, spec string, fldPath *field.Path) field.ErrorList
- func ValidateHibernationSchedule(seenSpecs sets.String, schedule *garden.HibernationSchedule, ...) field.ErrorList
- func ValidateHibernationSchedules(schedules []garden.HibernationSchedule, fldPath *field.Path) field.ErrorList
- func ValidateName(name string, prefix bool) []string
- func ValidatePositiveIntOrPercent(intOrPercent intstr.IntOrString, fldPath *field.Path) field.ErrorList
- func ValidateProject(project *garden.Project) field.ErrorList
- func ValidateProjectSpec(projectSpec *garden.ProjectSpec, fldPath *field.Path) field.ErrorList
- func ValidateProjectStatusUpdate(newProject, oldProject *garden.Project) field.ErrorList
- func ValidateProjectUpdate(newProject, oldProject *garden.Project) field.ErrorList
- func ValidateQuota(quota *garden.Quota) field.ErrorList
- func ValidateQuotaSpec(quotaSpec *garden.QuotaSpec, fldPath *field.Path) field.ErrorList
- func ValidateQuotaStatusUpdate(newQuota, oldQuota *garden.Quota) field.ErrorList
- func ValidateQuotaUpdate(newQuota, oldQuota *garden.Quota) field.ErrorList
- func ValidateSecretBinding(binding *garden.SecretBinding) field.ErrorList
- func ValidateSecretBindingUpdate(newBinding, oldBinding *garden.SecretBinding) field.ErrorList
- func ValidateSeed(seed *garden.Seed) field.ErrorList
- func ValidateSeedAnnotation(annotations map[string]string, fldPath *field.Path) field.ErrorList
- func ValidateSeedSpec(seedSpec *garden.SeedSpec, fldPath *field.Path) field.ErrorList
- func ValidateSeedStatusUpdate(newSeed, oldSeed *garden.Seed) field.ErrorList
- func ValidateSeedUpdate(newSeed, oldSeed *garden.Seed) field.ErrorList
- func ValidateShoot(shoot *garden.Shoot) field.ErrorList
- func ValidateShootSpec(spec *garden.ShootSpec, fldPath *field.Path) field.ErrorList
- func ValidateShootSpecUpdate(newSpec, oldSpec *garden.ShootSpec, deletionTimestampSet bool, ...) field.ErrorList
- func ValidateShootStatusUpdate(newStatus, oldStatus garden.ShootStatus) field.ErrorList
- func ValidateShootUpdate(newShoot, oldShoot *garden.Shoot) field.ErrorList
- func ValidateSubject(subject rbacv1.Subject, fldPath *field.Path) field.ErrorList
- func ValidateWorker(worker garden.Worker, fldPath *field.Path) field.ErrorList
- func ValidateWorkers(workers []garden.Worker, fldPath *field.Path) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotMoreThan100Percent ¶
func ValidateBackupInfrastructure ¶
func ValidateBackupInfrastructure(backupInfrastructure *garden.BackupInfrastructure) field.ErrorList
ValidateBackupInfrastructure validates a BackupInfrastructure object.
func ValidateBackupInfrastructureSpec ¶
func ValidateBackupInfrastructureSpec(spec *garden.BackupInfrastructureSpec, fldPath *field.Path) field.ErrorList
ValidateBackupInfrastructureSpec validates the specification of a BackupInfrastructure object.
func ValidateBackupInfrastructureSpecUpdate ¶
func ValidateBackupInfrastructureSpecUpdate(newSpec, oldSpec *garden.BackupInfrastructureSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList
ValidateBackupInfrastructureSpecUpdate validates the specification of a BackupInfrastructure object.
func ValidateBackupInfrastructureStatusUpdate ¶
func ValidateBackupInfrastructureStatusUpdate(newBackupInfrastructure, oldBackupInfrastructure *garden.BackupInfrastructure) field.ErrorList
ValidateBackupInfrastructureStatusUpdate validates the status field of a BackupInfrastructure object.
func ValidateBackupInfrastructureUpdate ¶
func ValidateBackupInfrastructureUpdate(newBackupInfrastructure, oldBackupInfrastructure *garden.BackupInfrastructure) field.ErrorList
ValidateBackupInfrastructureUpdate validates a BackupInfrastructure object before an update.
func ValidateCloudProfile ¶
func ValidateCloudProfile(cloudProfile *garden.CloudProfile) field.ErrorList
ValidateCloudProfile validates a CloudProfile object.
func ValidateCloudProfileSpec ¶
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 ValidateHibernation ¶
ValidateHibernation validates a Hibernation object.
func ValidateHibernationSchedule ¶
func ValidateHibernationSchedule(seenSpecs sets.String, schedule *garden.HibernationSchedule, fldPath *field.Path) field.ErrorList
ValidateHibernationSchedule validates the correctness of a HibernationSchedule. It checks whether the set start and end time are valid cron specs.
func ValidateName ¶
ValidateName is a helper function for validating that a name is a DNS sub domain.
func ValidateProject ¶
ValidateProject validates a Project object.
func ValidateProjectSpec ¶
ValidateProjectSpec validates the specification of a Project object.
func ValidateProjectStatusUpdate ¶
ValidateProjectStatusUpdate validates the status field of a Project object.
func ValidateProjectUpdate ¶
ValidateProjectUpdate validates a Project object before an update.
func ValidateQuota ¶
ValidateQuota validates a Quota object.
func ValidateQuotaSpec ¶
ValidateQuotaSpec validates the specification of a Quota object.
func ValidateQuotaStatusUpdate ¶
ValidateQuotaStatusUpdate validates the status field of a Quota object.
func ValidateQuotaUpdate ¶
ValidateQuotaUpdate validates a Quota object before an update.
func ValidateSecretBinding ¶
func ValidateSecretBinding(binding *garden.SecretBinding) field.ErrorList
ValidateSecretBinding validates a SecretBinding object.
func ValidateSecretBindingUpdate ¶
func ValidateSecretBindingUpdate(newBinding, oldBinding *garden.SecretBinding) field.ErrorList
ValidateSecretBindingUpdate validates a SecretBinding object before an update.
func ValidateSeed ¶
ValidateSeed validates a Seed object.
func ValidateSeedAnnotation ¶
ValidateSeedAnnotation validates the annotations of seed
func ValidateSeedSpec ¶
ValidateSeedSpec validates the specification of a Seed object.
func ValidateSeedStatusUpdate ¶
ValidateSeedStatusUpdate validates the status field of a Seed object.
func ValidateSeedUpdate ¶
ValidateSeedUpdate validates a Seed object before an update.
func ValidateShoot ¶
ValidateShoot validates a Shoot object.
func ValidateShootSpec ¶
ValidateShootSpec validates the specification of a Shoot object.
func ValidateShootSpecUpdate ¶
func ValidateShootSpecUpdate(newSpec, oldSpec *garden.ShootSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList
ValidateShootSpecUpdate validates the specification of a Shoot object.
func ValidateShootStatusUpdate ¶
func ValidateShootStatusUpdate(newStatus, oldStatus garden.ShootStatus) field.ErrorList
ValidateShootStatusUpdate validates the status field of a Shoot object.
func ValidateShootUpdate ¶
ValidateShootUpdate validates a Shoot object before an update.
func ValidateSubject ¶
ValidateSubject validates the subject representing the owner.
func ValidateWorker ¶
ValidateWorker validates the worker object.
Types ¶
This section is empty.