Documentation ¶
Index ¶
- func IsNotMoreThan100Percent(intOrStringValue *intstr.IntOrString, fldPath *field.Path) 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 ValidateClusterAutoscaler(autoScaler garden.ClusterAutoscaler, fldPath *field.Path) 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 ValidateHibernationScheduleLocation(location string, fldPath *field.Path) field.ErrorList
- func ValidateHibernationSchedules(schedules []garden.HibernationSchedule, fldPath *field.Path) field.ErrorList
- func ValidateKubeletConfig(kubeletConfig garden.KubeletConfig, fldPath *field.Path) field.ErrorList
- func ValidateName(name string, prefix bool) []string
- func ValidateNodeCIDRMaskWithMaxPod(maxPod int32, nodeCIDRMaskSize int) field.ErrorList
- func ValidatePositiveDuration(duration *metav1.Duration, fldPath *field.Path) field.ErrorList
- 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 ValidateResourceQuantityOrPercent(valuePtr *string, fldPath *field.Path, key string) 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 ValidateSeedSpecUpdate(newSeedSpec, oldSeedSpec *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(meta metav1.ObjectMeta, 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 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 ValidateClusterAutoscaler ¶
func ValidateClusterAutoscaler(autoScaler garden.ClusterAutoscaler, fldPath *field.Path) field.ErrorList
ValidateClusterAutoscaler validates the given ClusterAutoscaler fields.
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 ValidateHibernationScheduleLocation ¶
ValidateHibernationScheduleLocation validates that the location of a HibernationSchedule is correct.
func ValidateKubeletConfig ¶
ValidateWorker validates the worker object.
func ValidateName ¶
ValidateName is a helper function for validating that a name is a DNS sub domain.
func ValidateNodeCIDRMaskWithMaxPod ¶
ValidateNodeCIDRMaskWithMaxPod validates if the Pod Network has enough ip addresses (configured via the NodeCIDRMask on the kube controller manager) to support the highest max pod setting on the shoot
func ValidatePositiveDuration ¶
ValidatePositiveDuration validates that a duration is positive.
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 ValidateResourceQuantityOrPercent ¶
func ValidateResourceQuantityOrPercent(valuePtr *string, fldPath *field.Path, key string) field.ErrorList
ValidateResourceQuantityOrPercent checks if a value can be parsed to either a resource.quantity, a positive int or percent.
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 ValidateSeedSpecUpdate ¶
func ValidateSeedSpecUpdate(newSeedSpec, oldSeedSpec *garden.SeedSpec, fldPath *field.Path) field.ErrorList
ValidateSeedSpecUpdate validates the specification updates 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 ¶
func ValidateShootSpec(meta metav1.ObjectMeta, spec *garden.ShootSpec, fldPath *field.Path) field.ErrorList
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.