Documentation ¶
Index ¶
- func ValidateAPIServer(config imports.GardenerAPIServer, fldPath *field.Path) field.ErrorList
- func ValidateAPIServerAdmission(config *imports.APIServerAdmissionConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateAPIServerAuditCommonBackendConfiguration(config imports.APIServerAuditCommonBackendConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateAPIServerAuditConfiguration(config *imports.APIServerAuditConfiguration, featureGates []string, ...) field.ErrorList
- func ValidateAPIServerComponentConfiguration(config imports.APIServerComponentConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateAPIServerDeploymentConfiguration(config *imports.APIServerDeploymentConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateAPIServerETCDConfiguration(config imports.APIServerEtcdConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateAPIServerEncryptionConfiguration(config *apiserverconfigv1.EncryptionConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateAPIServerRequests(config *imports.APIServerRequests, fldPath *field.Path) field.ErrorList
- func ValidateAPIServerWatchCache(config *imports.APIServerWatchCacheConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateAdmissionController(config imports.GardenerAdmissionController, fldPath *field.Path) field.ErrorList
- func ValidateAdmissionControllerComponentConfiguration(config imports.AdmissionControllerComponentConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateAdmissionControllerConfiguration(config *apisconfig.AdmissionControllerConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateCACertificate(bundle string, fldPath *field.Path) field.ErrorList
- func ValidateClientCertificate(certificate string, fldPath *field.Path) field.ErrorList
- func ValidateCommonCA(config imports.CA, fldPath *field.Path) field.ErrorList
- func ValidateCommonDeployment(deployment imports.CommonDeploymentConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateCommonTLSServer(config imports.TLSServer, fldPath *field.Path) field.ErrorList
- func ValidateControllerManager(config imports.GardenerControllerManager, fldPath *field.Path) field.ErrorList
- func ValidateControllerManagerComponentConfiguration(config imports.ControllerManagerComponentConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateControllerManagerConfiguration(config *apisconfig.ControllerManagerConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateHVPA(hvpa *imports.HVPAConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateHVPAConfigurationHPA(hpa *imports.HVPAConfigurationHPA, fldPath *field.Path) field.ErrorList
- func ValidateHVPAConfigurationVPA(vpa *imports.HVPAConfigurationVPA, fldPath *field.Path) field.ErrorList
- func ValidateLandscaperImports(imports *imports.Imports) field.ErrorList
- func ValidatePrivateKey(key string, fldPath *field.Path) field.ErrorList
- func ValidateProbe(probe *corev1.Probe, fldPath *field.Path) field.ErrorList
- func ValidateScheduler(config imports.GardenerScheduler, fldPath *field.Path) field.ErrorList
- func ValidateSchedulerComponentConfiguration(config imports.SchedulerComponentConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateTLSServingCertificate(certificate string, fldPath *field.Path) field.ErrorList
- func ValidateTLSServingCertificateAgainstCA(cert, ca string, fldPath *field.Path) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAPIServer ¶
ValidateAPIServer validates the configuration of the Gardener API server.
func ValidateAPIServerAdmission ¶
func ValidateAPIServerAdmission(config *imports.APIServerAdmissionConfiguration, fldPath *field.Path) field.ErrorList
ValidateAPIServerAdmission validates the admission configuration of the Gardener API server.
func ValidateAPIServerAuditCommonBackendConfiguration ¶
func ValidateAPIServerAuditCommonBackendConfiguration(config imports.APIServerAuditCommonBackendConfiguration, fldPath *field.Path) field.ErrorList
ValidateAPIServerAuditCommonBackendConfiguration validates the common audit log backend configuration of the Gardener API server
func ValidateAPIServerAuditConfiguration ¶
func ValidateAPIServerAuditConfiguration(config *imports.APIServerAuditConfiguration, featureGates []string, fldPath *field.Path) field.ErrorList
ValidateAPIServerAuditConfiguration validates the Audit configuration of the Gardener API server
func ValidateAPIServerComponentConfiguration ¶
func ValidateAPIServerComponentConfiguration(config imports.APIServerComponentConfiguration, fldPath *field.Path) field.ErrorList
ValidateAPIServerComponentConfiguration validates the component configuration of the Gardener API server.
func ValidateAPIServerDeploymentConfiguration ¶
func ValidateAPIServerDeploymentConfiguration(config *imports.APIServerDeploymentConfiguration, fldPath *field.Path) field.ErrorList
ValidateAPIServerDeploymentConfiguration validates the deployment configuration of the Gardener API server.
func ValidateAPIServerETCDConfiguration ¶
func ValidateAPIServerETCDConfiguration(config imports.APIServerEtcdConfiguration, fldPath *field.Path) field.ErrorList
ValidateAPIServerETCDConfiguration validates the etcd configuration of the Gardener API server.
func ValidateAPIServerEncryptionConfiguration ¶
func ValidateAPIServerEncryptionConfiguration(config *apiserverconfigv1.EncryptionConfiguration, fldPath *field.Path) field.ErrorList
ValidateAPIServerEncryptionConfiguration validates the encryption configuration of the Gardener API server.
func ValidateAPIServerRequests ¶
func ValidateAPIServerRequests(config *imports.APIServerRequests, fldPath *field.Path) field.ErrorList
ValidateAPIServerRequests validates the requests related configuration of the Gardener API server.
func ValidateAPIServerWatchCache ¶
func ValidateAPIServerWatchCache(config *imports.APIServerWatchCacheConfiguration, fldPath *field.Path) field.ErrorList
ValidateAPIServerWatchCache validates the watch cache size configuration of the Gardener API server.
func ValidateAdmissionController ¶
func ValidateAdmissionController(config imports.GardenerAdmissionController, fldPath *field.Path) field.ErrorList
ValidateAdmissionController validates the configuration of the Gardener Admission Controller
func ValidateAdmissionControllerComponentConfiguration ¶
func ValidateAdmissionControllerComponentConfiguration(config imports.AdmissionControllerComponentConfiguration, fldPath *field.Path) field.ErrorList
ValidateAdmissionControllerComponentConfiguration validates the component configuration of the Gardener Admission Controller
func ValidateAdmissionControllerConfiguration ¶
func ValidateAdmissionControllerConfiguration(config *apisconfig.AdmissionControllerConfiguration, fldPath *field.Path) field.ErrorList
ValidateAdmissionControllerConfiguration validates the Gardener Admission Controller component configuration
func ValidateCACertificate ¶ added in v1.36.0
ValidateCACertificate validates that the given string contains a valid PEM encoded public x509 CA certificate
func ValidateClientCertificate ¶
ValidateClientCertificate validates that the given string contains a valid PEM encoded x509 TLS client certificate
func ValidateCommonCA ¶ added in v1.36.0
ValidateCommonCA validates the CA configuration
func ValidateCommonDeployment ¶
func ValidateCommonDeployment(deployment imports.CommonDeploymentConfiguration, fldPath *field.Path) field.ErrorList
ValidateCommonDeployment validates the deployment configuration
func ValidateCommonTLSServer ¶
ValidateCommonTLSServer validates TLS server configuration
func ValidateControllerManager ¶
func ValidateControllerManager(config imports.GardenerControllerManager, fldPath *field.Path) field.ErrorList
ValidateControllerManager validates the configuration of the Gardener Controller Manager
func ValidateControllerManagerComponentConfiguration ¶
func ValidateControllerManagerComponentConfiguration(config imports.ControllerManagerComponentConfiguration, fldPath *field.Path) field.ErrorList
ValidateControllerManagerComponentConfiguration validates the component configuration of the Gardener Controller Manager
func ValidateControllerManagerConfiguration ¶
func ValidateControllerManagerConfiguration(config *apisconfig.ControllerManagerConfiguration, fldPath *field.Path) field.ErrorList
ValidateControllerManagerConfiguration validates the Gardener Controller Manager configuration
func ValidateHVPA ¶
ValidateHVPA validates the HVPA configuration of the Gardener API server deployment configuration.
func ValidateHVPAConfigurationHPA ¶
func ValidateHVPAConfigurationHPA(hpa *imports.HVPAConfigurationHPA, fldPath *field.Path) field.ErrorList
ValidateHVPAConfigurationHPA validates the HPA configuration of HVPA.
func ValidateHVPAConfigurationVPA ¶
func ValidateHVPAConfigurationVPA(vpa *imports.HVPAConfigurationVPA, fldPath *field.Path) field.ErrorList
ValidateHVPAConfigurationVPA validates the VPA configuration of HVPA https://github.com/gardener/hvpa-controller does not publicly expose type validation that could be reused. For simplicity, skip the validation of the fields ScaleUpStabilization, ScaleDownStabilization, LimitsRequestsGapScaleParams.
func ValidateLandscaperImports ¶
ValidateLandscaperImports validates an imports object.
func ValidatePrivateKey ¶
ValidatePrivateKey validates that the given string contains a valid PEM encoded x509 TLS private certificate
func ValidateProbe ¶
ValidateProbe validates probes of the Gardener API server.
func ValidateScheduler ¶
ValidateScheduler validates the configuration of the Gardener Scheduler
func ValidateSchedulerComponentConfiguration ¶
func ValidateSchedulerComponentConfiguration(config imports.SchedulerComponentConfiguration, fldPath *field.Path) field.ErrorList
ValidateSchedulerComponentConfiguration validates the component configuration of the Gardener Scheduler
func ValidateTLSServingCertificate ¶
ValidateTLSServingCertificate validates that the given string contains a valid PEM encoded x509 TLS serving certificate
Types ¶
This section is empty.