Documentation ¶
Index ¶
- Constants
- Variables
- func IsNotMoreThan100Percent(intOrStringValue *intstr.IntOrString, fldPath *field.Path) field.ErrorList
- func ProjectMemberId(apiGroup, kind, namespace, name string) string
- func ProjectMemberProperties(member core.ProjectMember) (string, string, string, string, error)
- func ValidateArchitecture(arch *string, fldPath *field.Path) field.ErrorList
- func ValidateBackupBucket(backupBucket *core.BackupBucket) field.ErrorList
- func ValidateBackupBucketSpec(spec *core.BackupBucketSpec, fldPath *field.Path) field.ErrorList
- func ValidateBackupBucketSpecUpdate(newSpec, oldSpec *core.BackupBucketSpec, fldPath *field.Path) field.ErrorList
- func ValidateBackupBucketStatusUpdate(newBackupBucket, oldBackupBucket *core.BackupBucket) field.ErrorList
- func ValidateBackupBucketUpdate(newBackupBucket, oldBackupBucket *core.BackupBucket) field.ErrorList
- func ValidateBackupEntry(backupEntry *core.BackupEntry) field.ErrorList
- func ValidateBackupEntrySpec(spec *core.BackupEntrySpec, fldPath *field.Path) field.ErrorList
- func ValidateBackupEntrySpecUpdate(newSpec, oldSpec *core.BackupEntrySpec, fldPath *field.Path) field.ErrorList
- func ValidateBackupEntryStatusUpdate(newBackupEntry, oldBackupEntry *core.BackupEntry) field.ErrorList
- func ValidateBackupEntryUpdate(newBackupEntry, oldBackupEntry *core.BackupEntry) field.ErrorList
- func ValidateCRI(CRI *core.CRI, kubernetesVersion string, fldPath *field.Path) field.ErrorList
- func ValidateCloudProfile(cloudProfile *core.CloudProfile) field.ErrorList
- func ValidateCloudProfileAddedVersions(versions []core.ExpirableVersion, addedVersions map[string]int, ...) field.ErrorList
- func ValidateCloudProfileCreation(cloudProfile *core.CloudProfile) field.ErrorList
- func ValidateCloudProfileSpec(spec *core.CloudProfileSpec, fldPath *field.Path) field.ErrorList
- func ValidateCloudProfileSpecUpdate(new, old *core.CloudProfileSpec, fldPath *field.Path) field.ErrorList
- func ValidateCloudProfileUpdate(newProfile, oldProfile *core.CloudProfile) field.ErrorList
- func ValidateClusterAutoscaler(autoScaler core.ClusterAutoscaler, k8sVersion string, fldPath *field.Path) field.ErrorList
- func ValidateContainerRuntimes(containerRuntime []core.ContainerRuntime, fldPath *field.Path) field.ErrorList
- func ValidateControllerDeployment(controllerDeployment *core.ControllerDeployment) field.ErrorList
- func ValidateControllerDeploymentUpdate(new, _ *core.ControllerDeployment) field.ErrorList
- func ValidateControllerInstallation(controllerInstallation *core.ControllerInstallation) field.ErrorList
- func ValidateControllerInstallationSpec(spec *core.ControllerInstallationSpec, fldPath *field.Path) field.ErrorList
- func ValidateControllerInstallationSpecUpdate(new, old *core.ControllerInstallationSpec, deletionTimestampSet bool, ...) field.ErrorList
- func ValidateControllerInstallationStatus(spec *core.ControllerInstallationStatus, fldPath *field.Path) field.ErrorList
- func ValidateControllerInstallationStatusUpdate(newStatus, oldStatus core.ControllerInstallationStatus) field.ErrorList
- func ValidateControllerInstallationUpdate(new, old *core.ControllerInstallation) field.ErrorList
- func ValidateControllerRegistration(controllerRegistration *core.ControllerRegistration) field.ErrorList
- func ValidateControllerRegistrationSpec(spec *core.ControllerRegistrationSpec, fldPath *field.Path) field.ErrorList
- func ValidateControllerRegistrationSpecUpdate(new, old *core.ControllerRegistrationSpec, deletionTimestampSet bool, ...) field.ErrorList
- func ValidateControllerRegistrationUpdate(new, old *core.ControllerRegistration) field.ErrorList
- func ValidateCoreDNSRewritingCommonSuffixes(commonSuffixes []string, fldPath *field.Path) field.ErrorList
- func ValidateExposureClass(exposureClass *core.ExposureClass) field.ErrorList
- func ValidateExposureClassUpdate(new, old *core.ExposureClass) field.ErrorList
- func ValidateFailureToleranceTypeValue(value core.FailureToleranceType, fldPath *field.Path) field.ErrorList
- func ValidateHibernation(annotations map[string]string, hibernation *core.Hibernation, ...) field.ErrorList
- func ValidateHibernationCronSpec(seenSpecs sets.String, spec string, fldPath *field.Path) field.ErrorList
- func ValidateHibernationSchedule(seenSpecs sets.String, schedule *core.HibernationSchedule, fldPath *field.Path) field.ErrorList
- func ValidateHibernationScheduleLocation(location string, fldPath *field.Path) field.ErrorList
- func ValidateHibernationSchedules(schedules []core.HibernationSchedule, fldPath *field.Path) field.ErrorList
- func ValidateKubeletConfig(kubeletConfig core.KubeletConfig, version string, dockerConfigured bool, ...) field.ErrorList
- func ValidateName(name string, prefix bool) []string
- func ValidateNodeCIDRMaskWithMaxPod(maxPod int32, nodeCIDRMaskSize int32) 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 *core.Project) field.ErrorList
- func ValidateProjectMember(member core.ProjectMember, fldPath *field.Path) field.ErrorList
- func ValidateProjectSpec(projectSpec *core.ProjectSpec, fldPath *field.Path) field.ErrorList
- func ValidateProjectStatusUpdate(newProject, oldProject *core.Project) field.ErrorList
- func ValidateProjectUpdate(newProject, oldProject *core.Project) field.ErrorList
- func ValidateProviderUpdate(newProvider, oldProvider *core.Provider, fldPath *field.Path) field.ErrorList
- func ValidateQuota(quota *core.Quota) field.ErrorList
- func ValidateQuotaSpec(quotaSpec *core.QuotaSpec, fldPath *field.Path) field.ErrorList
- func ValidateQuotaStatusUpdate(newQuota, oldQuota *core.Quota) field.ErrorList
- func ValidateQuotaUpdate(newQuota, oldQuota *core.Quota) field.ErrorList
- func ValidateResourceQuantityOrPercent(valuePtr *string, fldPath *field.Path, key string) field.ErrorList
- func ValidateResourceQuantityValue(key string, value resource.Quantity, fldPath *field.Path) field.ErrorList
- func ValidateSecretBinding(binding *core.SecretBinding) field.ErrorList
- func ValidateSecretBindingProvider(provider *core.SecretBindingProvider) field.ErrorList
- func ValidateSecretBindingUpdate(newBinding, oldBinding *core.SecretBinding) field.ErrorList
- func ValidateSeed(seed *core.Seed) field.ErrorList
- func ValidateSeedSpec(seedSpec *core.SeedSpec, fldPath *field.Path, inTemplate bool) field.ErrorList
- func ValidateSeedSpecUpdate(newSeedSpec, oldSeedSpec *core.SeedSpec, fldPath *field.Path) field.ErrorList
- func ValidateSeedStatusUpdate(newSeed, oldSeed *core.Seed) field.ErrorList
- func ValidateSeedTemplate(seedTemplate *core.SeedTemplate, fldPath *field.Path) field.ErrorList
- func ValidateSeedTemplateUpdate(newSeedTemplate, oldSeedTemplate *core.SeedTemplate, fldPath *field.Path) field.ErrorList
- func ValidateSeedUpdate(newSeed, oldSeed *core.Seed) field.ErrorList
- func ValidateShoot(shoot *core.Shoot) field.ErrorList
- func ValidateShootHAConfig(shoot *core.Shoot) field.ErrorList
- func ValidateShootHAConfigUpdate(newShoot, oldSnoot *core.Shoot) field.ErrorList
- func ValidateShootObjectMetaUpdate(newMeta, oldMeta metav1.ObjectMeta, fldPath *field.Path) field.ErrorList
- func ValidateShootSpec(meta metav1.ObjectMeta, spec *core.ShootSpec, fldPath *field.Path, ...) field.ErrorList
- func ValidateShootSpecUpdate(newSpec, oldSpec *core.ShootSpec, newObjectMeta metav1.ObjectMeta, ...) field.ErrorList
- func ValidateShootState(shootState *core.ShootState) field.ErrorList
- func ValidateShootStateSpec(shootStateSpec *core.ShootStateSpec, fldPath *field.Path) field.ErrorList
- func ValidateShootStateSpecUpdate(newShootState, oldShootState *core.ShootStateSpec) field.ErrorList
- func ValidateShootStateUpdate(newShootState, oldShootState *core.ShootState) field.ErrorList
- func ValidateShootStatusUpdate(newStatus, oldStatus core.ShootStatus) field.ErrorList
- func ValidateShootTemplate(shootTemplate *core.ShootTemplate, fldPath *field.Path) field.ErrorList
- func ValidateShootTemplateUpdate(newShootTemplate, oldShootTemplate *core.ShootTemplate, fldPath *field.Path) field.ErrorList
- func ValidateShootUpdate(newShoot, oldShoot *core.Shoot) field.ErrorList
- func ValidateSubject(subject rbacv1.Subject, fldPath *field.Path) field.ErrorList
- func ValidateSystemComponents(systemComponents *core.SystemComponents, fldPath *field.Path) field.ErrorList
- func ValidateTolerations(tolerations []core.Toleration, fldPath *field.Path) field.ErrorList
- func ValidateTolerationsAgainstAllowlist(tolerations, allowlist []core.Toleration, fldPath *field.Path) field.ErrorList
- func ValidateTotalNodeCountWithPodCIDR(shoot *core.Shoot) field.ErrorList
- func ValidateVerticalPodAutoscaler(autoScaler core.VerticalPodAutoscaler, fldPath *field.Path) field.ErrorList
- func ValidateWatchCacheSizes(sizes *core.WatchCacheSizes, fldPath *field.Path) field.ErrorList
- func ValidateWorker(worker core.Worker, kubernetes core.Kubernetes, fldPath *field.Path, ...) field.ErrorList
- func ValidateWorkers(workers []core.Worker, fldPath *field.Path) field.ErrorList
Constants ¶
const PodPIDsLimitMinimum int64 = 100
PodPIDsLimitMinimum is a constant for the minimum value for the podPIDsLimit field.
Variables ¶
var SupportedExtensionKinds = sets.NewString( extensionsv1alpha1.BackupBucketResource, extensionsv1alpha1.BackupEntryResource, extensionsv1alpha1.BastionResource, extensionsv1alpha1.ContainerRuntimeResource, extensionsv1alpha1.ControlPlaneResource, extensionsv1alpha1.DNSRecordResource, extensionsv1alpha1.ExtensionResource, extensionsv1alpha1.InfrastructureResource, extensionsv1alpha1.NetworkResource, extensionsv1alpha1.OperatingSystemConfigResource, extensionsv1alpha1.WorkerResource, "DNSProvider", )
SupportedExtensionKinds contains all supported extension kinds.
Functions ¶
func IsNotMoreThan100Percent ¶ added in v1.0.0
func IsNotMoreThan100Percent(intOrStringValue *intstr.IntOrString, fldPath *field.Path) field.ErrorList
IsNotMoreThan100Percent validates an int or string object and ensures it is not more than 100%.
func ProjectMemberId ¶ added in v1.13.0
ProjectMemberId returns an internal ID for the project member.
func ProjectMemberProperties ¶ added in v1.13.0
ProjectMemberProperties returns the properties for the given project member.
func ValidateArchitecture ¶ added in v1.50.0
ValidateArchitecture validates the CPU architecure of the machines in this worker pool.
func ValidateBackupBucket ¶
func ValidateBackupBucket(backupBucket *core.BackupBucket) field.ErrorList
ValidateBackupBucket validates a BackupBucket object.
func ValidateBackupBucketSpec ¶
ValidateBackupBucketSpec validates the specification of a BackupBucket object.
func ValidateBackupBucketSpecUpdate ¶
func ValidateBackupBucketSpecUpdate(newSpec, oldSpec *core.BackupBucketSpec, fldPath *field.Path) field.ErrorList
ValidateBackupBucketSpecUpdate validates the specification of a BackupBucket object.
func ValidateBackupBucketStatusUpdate ¶
func ValidateBackupBucketStatusUpdate(newBackupBucket, oldBackupBucket *core.BackupBucket) field.ErrorList
ValidateBackupBucketStatusUpdate validates the status field of a BackupBucket object.
func ValidateBackupBucketUpdate ¶
func ValidateBackupBucketUpdate(newBackupBucket, oldBackupBucket *core.BackupBucket) field.ErrorList
ValidateBackupBucketUpdate validates a BackupBucket object before an update.
func ValidateBackupEntry ¶
func ValidateBackupEntry(backupEntry *core.BackupEntry) field.ErrorList
ValidateBackupEntry validates a BackupEntry object.
func ValidateBackupEntrySpec ¶
ValidateBackupEntrySpec validates the specification of a BackupEntry object.
func ValidateBackupEntrySpecUpdate ¶
func ValidateBackupEntrySpecUpdate(newSpec, oldSpec *core.BackupEntrySpec, fldPath *field.Path) field.ErrorList
ValidateBackupEntrySpecUpdate validates the specification of a BackupEntry object.
func ValidateBackupEntryStatusUpdate ¶
func ValidateBackupEntryStatusUpdate(newBackupEntry, oldBackupEntry *core.BackupEntry) field.ErrorList
ValidateBackupEntryStatusUpdate validates the status field of a BackupEntry object.
func ValidateBackupEntryUpdate ¶
func ValidateBackupEntryUpdate(newBackupEntry, oldBackupEntry *core.BackupEntry) field.ErrorList
ValidateBackupEntryUpdate validates a BackupEntry object before an update.
func ValidateCRI ¶ added in v1.2.0
ValidateCRI validates container runtime interface name and its container runtimes
func ValidateCloudProfile ¶ added in v1.0.0
func ValidateCloudProfile(cloudProfile *core.CloudProfile) field.ErrorList
ValidateCloudProfile validates a CloudProfile object.
func ValidateCloudProfileAddedVersions ¶ added in v1.3.0
func ValidateCloudProfileAddedVersions(versions []core.ExpirableVersion, addedVersions map[string]int, fldPath *field.Path) field.ErrorList
ValidateCloudProfileAddedVersions validates versions added to the CloudProfile
func ValidateCloudProfileCreation ¶ added in v1.3.0
func ValidateCloudProfileCreation(cloudProfile *core.CloudProfile) field.ErrorList
ValidateCloudProfileCreation validates a CloudProfile object when it is initially created.
func ValidateCloudProfileSpec ¶ added in v1.0.0
ValidateCloudProfileSpec validates the specification of a CloudProfile object.
func ValidateCloudProfileSpecUpdate ¶ added in v1.3.0
func ValidateCloudProfileSpecUpdate(new, old *core.CloudProfileSpec, fldPath *field.Path) field.ErrorList
ValidateCloudProfileSpecUpdate validates the spec update of a CloudProfile
func ValidateCloudProfileUpdate ¶ added in v1.0.0
func ValidateCloudProfileUpdate(newProfile, oldProfile *core.CloudProfile) field.ErrorList
ValidateCloudProfileUpdate validates a CloudProfile object before an update.
func ValidateClusterAutoscaler ¶ added in v1.0.0
func ValidateClusterAutoscaler(autoScaler core.ClusterAutoscaler, k8sVersion string, fldPath *field.Path) field.ErrorList
ValidateClusterAutoscaler validates the given ClusterAutoscaler fields.
func ValidateContainerRuntimes ¶ added in v1.2.0
func ValidateContainerRuntimes(containerRuntime []core.ContainerRuntime, fldPath *field.Path) field.ErrorList
ValidateContainerRuntimes validates the given container runtimes
func ValidateControllerDeployment ¶ added in v1.23.0
func ValidateControllerDeployment(controllerDeployment *core.ControllerDeployment) field.ErrorList
ValidateControllerDeployment validates a ControllerDeployment object.
func ValidateControllerDeploymentUpdate ¶ added in v1.23.0
func ValidateControllerDeploymentUpdate(new, _ *core.ControllerDeployment) field.ErrorList
ValidateControllerDeploymentUpdate validates a ControllerDeployment object before an update.
func ValidateControllerInstallation ¶
func ValidateControllerInstallation(controllerInstallation *core.ControllerInstallation) field.ErrorList
ValidateControllerInstallation validates a ControllerInstallation object.
func ValidateControllerInstallationSpec ¶
func ValidateControllerInstallationSpec(spec *core.ControllerInstallationSpec, fldPath *field.Path) field.ErrorList
ValidateControllerInstallationSpec validates the specification of a ControllerInstallation object.
func ValidateControllerInstallationSpecUpdate ¶
func ValidateControllerInstallationSpecUpdate(new, old *core.ControllerInstallationSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList
ValidateControllerInstallationSpecUpdate validates the spec of a ControllerInstallation object before an update.
func ValidateControllerInstallationStatus ¶
func ValidateControllerInstallationStatus(spec *core.ControllerInstallationStatus, fldPath *field.Path) field.ErrorList
ValidateControllerInstallationStatus validates the status of a ControllerInstallation object.
func ValidateControllerInstallationStatusUpdate ¶
func ValidateControllerInstallationStatusUpdate(newStatus, oldStatus core.ControllerInstallationStatus) field.ErrorList
ValidateControllerInstallationStatusUpdate validates the status field of a ControllerInstallation object.
func ValidateControllerInstallationUpdate ¶
func ValidateControllerInstallationUpdate(new, old *core.ControllerInstallation) field.ErrorList
ValidateControllerInstallationUpdate validates a ControllerInstallation object before an update.
func ValidateControllerRegistration ¶
func ValidateControllerRegistration(controllerRegistration *core.ControllerRegistration) field.ErrorList
ValidateControllerRegistration validates a ControllerRegistration object.
func ValidateControllerRegistrationSpec ¶
func ValidateControllerRegistrationSpec(spec *core.ControllerRegistrationSpec, fldPath *field.Path) field.ErrorList
ValidateControllerRegistrationSpec validates the specification of a ControllerRegistration object.
func ValidateControllerRegistrationSpecUpdate ¶
func ValidateControllerRegistrationSpecUpdate(new, old *core.ControllerRegistrationSpec, deletionTimestampSet bool, fldPath *field.Path) field.ErrorList
ValidateControllerRegistrationSpecUpdate validates a ControllerRegistration spec before an update.
func ValidateControllerRegistrationUpdate ¶
func ValidateControllerRegistrationUpdate(new, old *core.ControllerRegistration) field.ErrorList
ValidateControllerRegistrationUpdate validates a ControllerRegistration object before an update.
func ValidateCoreDNSRewritingCommonSuffixes ¶ added in v1.55.0
func ValidateCoreDNSRewritingCommonSuffixes(commonSuffixes []string, fldPath *field.Path) field.ErrorList
ValidateCoreDNSRewritingCommonSuffixes validates the given common suffixes used for DNS rewriting.
func ValidateExposureClass ¶ added in v1.24.0
func ValidateExposureClass(exposureClass *core.ExposureClass) field.ErrorList
ValidateExposureClass validates a ExposureClass object.
func ValidateExposureClassUpdate ¶ added in v1.24.0
func ValidateExposureClassUpdate(new, old *core.ExposureClass) field.ErrorList
ValidateExposureClassUpdate validates a ExposureClass object before an update.
func ValidateFailureToleranceTypeValue ¶ added in v1.58.0
func ValidateFailureToleranceTypeValue(value core.FailureToleranceType, fldPath *field.Path) field.ErrorList
ValidateFailureToleranceTypeValue validates if the passed value is a valid failureToleranceType.
func ValidateHibernation ¶ added in v1.0.0
func ValidateHibernation(annotations map[string]string, hibernation *core.Hibernation, fldPath *field.Path) field.ErrorList
ValidateHibernation validates a Hibernation object.
func ValidateHibernationCronSpec ¶ added in v1.0.0
func ValidateHibernationCronSpec(seenSpecs sets.String, spec string, fldPath *field.Path) field.ErrorList
ValidateHibernationCronSpec validates a cron specification of a hibernation schedule.
func ValidateHibernationSchedule ¶ added in v1.0.0
func ValidateHibernationSchedule(seenSpecs sets.String, schedule *core.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 ¶ added in v1.0.0
ValidateHibernationScheduleLocation validates that the location of a HibernationSchedule is correct.
func ValidateHibernationSchedules ¶ added in v1.0.0
func ValidateHibernationSchedules(schedules []core.HibernationSchedule, fldPath *field.Path) field.ErrorList
ValidateHibernationSchedules validates a list of hibernation schedules.
func ValidateKubeletConfig ¶ added in v1.0.0
func ValidateKubeletConfig(kubeletConfig core.KubeletConfig, version string, dockerConfigured bool, fldPath *field.Path) field.ErrorList
ValidateKubeletConfig validates the KubeletConfig object.
func ValidateName ¶ added in v1.0.0
ValidateName is a helper function for validating that a name is a DNS sub domain.
func ValidateNodeCIDRMaskWithMaxPod ¶ added in v1.0.0
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 ¶ added in v1.0.0
ValidatePositiveDuration validates that a duration is positive.
func ValidatePositiveIntOrPercent ¶ added in v1.0.0
func ValidatePositiveIntOrPercent(intOrPercent *intstr.IntOrString, fldPath *field.Path) field.ErrorList
ValidatePositiveIntOrPercent validates a int or string object and ensures it is positive.
func ValidateProject ¶ added in v1.0.0
ValidateProject validates a Project object.
func ValidateProjectMember ¶ added in v1.1.0
ValidateProjectMember validates the specification of a Project member.
func ValidateProjectSpec ¶ added in v1.0.0
ValidateProjectSpec validates the specification of a Project object.
func ValidateProjectStatusUpdate ¶ added in v1.0.0
ValidateProjectStatusUpdate validates the status field of a Project object.
func ValidateProjectUpdate ¶ added in v1.0.0
ValidateProjectUpdate validates a Project object before an update.
func ValidateProviderUpdate ¶ added in v1.2.0
func ValidateProviderUpdate(newProvider, oldProvider *core.Provider, fldPath *field.Path) field.ErrorList
ValidateProviderUpdate validates the specification of a Provider object.
func ValidateQuota ¶ added in v1.0.0
ValidateQuota validates a Quota object.
func ValidateQuotaSpec ¶ added in v1.0.0
ValidateQuotaSpec validates the specification of a Quota object.
func ValidateQuotaStatusUpdate ¶ added in v1.0.0
ValidateQuotaStatusUpdate validates the status field of a Quota object.
func ValidateQuotaUpdate ¶ added in v1.0.0
ValidateQuotaUpdate validates a Quota object before an update.
func ValidateResourceQuantityOrPercent ¶ added in v1.0.0
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 ValidateResourceQuantityValue ¶ added in v1.32.0
func ValidateResourceQuantityValue(key string, value resource.Quantity, fldPath *field.Path) field.ErrorList
ValidateResourceQuantityValue validates the value of a resource quantity.
func ValidateSecretBinding ¶ added in v1.0.0
func ValidateSecretBinding(binding *core.SecretBinding) field.ErrorList
ValidateSecretBinding validates a SecretBinding object.
func ValidateSecretBindingProvider ¶ added in v1.43.0
func ValidateSecretBindingProvider(provider *core.SecretBindingProvider) field.ErrorList
ValidateSecretBindingProvider validates a SecretBindingProvider object.
func ValidateSecretBindingUpdate ¶ added in v1.0.0
func ValidateSecretBindingUpdate(newBinding, oldBinding *core.SecretBinding) field.ErrorList
ValidateSecretBindingUpdate validates a SecretBinding object before an update.
func ValidateSeed ¶ added in v1.0.0
ValidateSeed validates a Seed object.
func ValidateSeedSpec ¶ added in v1.0.0
func ValidateSeedSpec(seedSpec *core.SeedSpec, fldPath *field.Path, inTemplate bool) field.ErrorList
ValidateSeedSpec validates the specification of a Seed object.
func ValidateSeedSpecUpdate ¶ added in v1.0.0
func ValidateSeedSpecUpdate(newSeedSpec, oldSeedSpec *core.SeedSpec, fldPath *field.Path) field.ErrorList
ValidateSeedSpecUpdate validates the specification updates of a Seed object.
func ValidateSeedStatusUpdate ¶ added in v1.0.0
ValidateSeedStatusUpdate validates the status field of a Seed object.
func ValidateSeedTemplate ¶ added in v1.17.0
ValidateSeedTemplate validates a SeedTemplate.
func ValidateSeedTemplateUpdate ¶ added in v1.17.0
func ValidateSeedTemplateUpdate(newSeedTemplate, oldSeedTemplate *core.SeedTemplate, fldPath *field.Path) field.ErrorList
ValidateSeedTemplateUpdate validates a SeedTemplate before an update.
func ValidateSeedUpdate ¶ added in v1.0.0
ValidateSeedUpdate validates a Seed object before an update.
func ValidateShoot ¶ added in v1.0.0
ValidateShoot validates a Shoot object.
func ValidateShootHAConfig ¶ added in v1.56.0
ValidateShootHAConfig enforces that both annotation and HA spec are not set together
func ValidateShootHAConfigUpdate ¶ added in v1.56.0
ValidateShootHAConfigUpdate validates the HA shoot control plane configuration
func ValidateShootObjectMetaUpdate ¶ added in v1.28.0
func ValidateShootObjectMetaUpdate(newMeta, oldMeta metav1.ObjectMeta, fldPath *field.Path) field.ErrorList
ValidateShootObjectMetaUpdate validates the object metadata of a Shoot object.
func ValidateShootSpec ¶ added in v1.0.0
func ValidateShootSpec(meta metav1.ObjectMeta, spec *core.ShootSpec, fldPath *field.Path, inTemplate bool) field.ErrorList
ValidateShootSpec validates the specification of a Shoot object.
func ValidateShootSpecUpdate ¶ added in v1.0.0
func ValidateShootSpecUpdate(newSpec, oldSpec *core.ShootSpec, newObjectMeta metav1.ObjectMeta, fldPath *field.Path) field.ErrorList
ValidateShootSpecUpdate validates the specification of a Shoot object.
func ValidateShootState ¶ added in v0.33.0
func ValidateShootState(shootState *core.ShootState) field.ErrorList
ValidateShootState validates a ShootState object
func ValidateShootStateSpec ¶ added in v0.33.0
func ValidateShootStateSpec(shootStateSpec *core.ShootStateSpec, fldPath *field.Path) field.ErrorList
ValidateShootStateSpec validates the spec field of a ShootState object.
func ValidateShootStateSpecUpdate ¶ added in v0.33.0
func ValidateShootStateSpecUpdate(newShootState, oldShootState *core.ShootStateSpec) field.ErrorList
ValidateShootStateSpecUpdate validates the update to the specification of a ShootState
func ValidateShootStateUpdate ¶ added in v0.33.0
func ValidateShootStateUpdate(newShootState, oldShootState *core.ShootState) field.ErrorList
ValidateShootStateUpdate validates an update to a ShootState object
func ValidateShootStatusUpdate ¶ added in v1.0.0
func ValidateShootStatusUpdate(newStatus, oldStatus core.ShootStatus) field.ErrorList
ValidateShootStatusUpdate validates the status field of a Shoot object.
func ValidateShootTemplate ¶ added in v1.19.0
ValidateShootTemplate validates a ShootTemplate.
func ValidateShootTemplateUpdate ¶ added in v1.19.0
func ValidateShootTemplateUpdate(newShootTemplate, oldShootTemplate *core.ShootTemplate, fldPath *field.Path) field.ErrorList
ValidateShootTemplateUpdate validates a ShootTemplate before an update.
func ValidateShootUpdate ¶ added in v1.0.0
ValidateShootUpdate validates a Shoot object before an update.
func ValidateSubject ¶ added in v1.0.0
ValidateSubject validates the subject representing the owner.
func ValidateSystemComponents ¶ added in v1.41.0
func ValidateSystemComponents(systemComponents *core.SystemComponents, fldPath *field.Path) field.ErrorList
ValidateSystemComponents validates the given system components.
func ValidateTolerations ¶ added in v1.6.0
ValidateTolerations validates the given tolerations.
func ValidateTolerationsAgainstAllowlist ¶ added in v1.16.0
func ValidateTolerationsAgainstAllowlist(tolerations, allowlist []core.Toleration, fldPath *field.Path) field.ErrorList
ValidateTolerationsAgainstAllowlist validates the given tolerations against the given allowlist.
func ValidateTotalNodeCountWithPodCIDR ¶ added in v1.41.0
ValidateTotalNodeCountWithPodCIDR validates if the podCIDRs in the Pod Network can support the maximum number of nodes configured in the worker pools of the shoot
func ValidateVerticalPodAutoscaler ¶ added in v1.7.0
func ValidateVerticalPodAutoscaler(autoScaler core.VerticalPodAutoscaler, fldPath *field.Path) field.ErrorList
ValidateVerticalPodAutoscaler validates the given VerticalPodAutoscaler fields.
func ValidateWatchCacheSizes ¶ added in v1.8.0
ValidateWatchCacheSizes validates the given WatchCacheSizes fields.
Types ¶
This section is empty.