validation

package
v1.37.6 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAPIServer

func ValidateAPIServer(config imports.GardenerAPIServer, fldPath *field.Path) field.ErrorList

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

func ValidateCACertificate(bundle string, fldPath *field.Path) field.ErrorList

ValidateCACertificate validates that the given string contains a valid PEM encoded public x509 CA certificate

func ValidateClientCertificate

func ValidateClientCertificate(certificate string, fldPath *field.Path) field.ErrorList

ValidateClientCertificate validates that the given string contains a valid PEM encoded x509 TLS client certificate

func ValidateCommonCA added in v1.36.0

func ValidateCommonCA(config imports.CA, fldPath *field.Path) field.ErrorList

ValidateCommonCA validates the CA configuration

func ValidateCommonDeployment

func ValidateCommonDeployment(deployment imports.CommonDeploymentConfiguration, fldPath *field.Path) field.ErrorList

ValidateCommonDeployment validates the deployment configuration

func ValidateCommonTLSServer

func ValidateCommonTLSServer(config imports.TLSServer, fldPath *field.Path) field.ErrorList

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

func ValidateHVPA(hvpa *imports.HVPAConfiguration, fldPath *field.Path) field.ErrorList

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

func ValidateLandscaperImports(imports *imports.Imports) field.ErrorList

ValidateLandscaperImports validates an imports object.

func ValidatePrivateKey

func ValidatePrivateKey(key string, fldPath *field.Path) field.ErrorList

ValidatePrivateKey validates that the given string contains a valid PEM encoded x509 TLS private certificate

func ValidateProbe

func ValidateProbe(probe *corev1.Probe, fldPath *field.Path) field.ErrorList

ValidateProbe validates probes of the Gardener API server.

func ValidateScheduler

func ValidateScheduler(config imports.GardenerScheduler, fldPath *field.Path) field.ErrorList

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

func ValidateTLSServingCertificate(certificate string, fldPath *field.Path) field.ErrorList

ValidateTLSServingCertificate validates that the given string contains a valid PEM encoded x509 TLS serving certificate

func ValidateTLSServingCertificateAgainstCA

func ValidateTLSServingCertificateAgainstCA(cert, ca string, fldPath *field.Path) field.ErrorList

ValidateTLSServingCertificateAgainstCA validates the given PEM encoded X509 certificate against the given CA.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL