Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_ClientConnectionConfiguration(obj *componentbaseconfigv1alpha1.ClientConnectionConfiguration)
- func SetDefaults_ExtensionControllerConfiguration(obj *ExtensionControllerConfiguration)
- func SetDefaults_ExtensionRequiredRuntimeControllerConfiguration(obj *ExtensionRequiredRuntimeControllerConfiguration)
- func SetDefaults_ExtensionRequiredVirtualControllerConfiguration(obj *ExtensionRequiredVirtualControllerConfiguration)
- func SetDefaults_GardenCareControllerConfiguration(obj *GardenCareControllerConfiguration)
- func SetDefaults_GardenControllerConfig(obj *GardenControllerConfig)
- func SetDefaults_GardenletDeployerControllerConfig(obj *GardenletDeployerControllerConfig)
- func SetDefaults_LeaderElectionConfiguration(obj *componentbaseconfigv1alpha1.LeaderElectionConfiguration)
- func SetDefaults_OperatorConfiguration(obj *OperatorConfiguration)
- func SetDefaults_ServerConfiguration(obj *ServerConfiguration)
- func SetObjectDefaults_OperatorConfiguration(in *OperatorConfiguration)
- type ConditionThreshold
- type ControllerConfiguration
- type ExtensionControllerConfiguration
- type ExtensionRequiredRuntimeControllerConfiguration
- type ExtensionRequiredVirtualControllerConfiguration
- type GardenCareControllerConfiguration
- type GardenControllerConfig
- type GardenletDeployerControllerConfig
- type NetworkPolicyControllerConfiguration
- type NodeTolerationConfiguration
- type OperatorConfiguration
- type Server
- type ServerConfiguration
- type VPAEvictionRequirementsControllerConfiguration
Constants ¶
const ( // DefaultLockObjectNamespace is the default lock namespace for leader election. DefaultLockObjectNamespace = "garden" // DefaultLockObjectName is the default lock name for leader election. DefaultLockObjectName = "gardener-operator-leader-election" )
const GroupName = "operator.config.gardener.cloud"
GroupName is the group name used in this package.
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder runtime.SchemeBuilder // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func SetDefaults_ClientConnectionConfiguration ¶
func SetDefaults_ClientConnectionConfiguration(obj *componentbaseconfigv1alpha1.ClientConnectionConfiguration)
SetDefaults_ClientConnectionConfiguration sets defaults for the garden client connection.
func SetDefaults_ExtensionControllerConfiguration ¶
func SetDefaults_ExtensionControllerConfiguration(obj *ExtensionControllerConfiguration)
SetDefaults_ExtensionControllerConfiguration sets defaults for the ExtensionControllerConfiguration object.
func SetDefaults_ExtensionRequiredRuntimeControllerConfiguration ¶
func SetDefaults_ExtensionRequiredRuntimeControllerConfiguration(obj *ExtensionRequiredRuntimeControllerConfiguration)
SetDefaults_ExtensionRequiredRuntimeControllerConfiguration sets defaults for the ExtensionRequiredControllerRuntimeConfiguration object.
func SetDefaults_ExtensionRequiredVirtualControllerConfiguration ¶
func SetDefaults_ExtensionRequiredVirtualControllerConfiguration(obj *ExtensionRequiredVirtualControllerConfiguration)
SetDefaults_ExtensionRequiredVirtualControllerConfiguration sets defaults for the ExtensionRequiredControllerVirtualConfiguration object.
func SetDefaults_GardenCareControllerConfiguration ¶
func SetDefaults_GardenCareControllerConfiguration(obj *GardenCareControllerConfiguration)
SetDefaults_GardenCareControllerConfiguration sets defaults for the GardenCareControllerConfiguration object.
func SetDefaults_GardenControllerConfig ¶
func SetDefaults_GardenControllerConfig(obj *GardenControllerConfig)
SetDefaults_GardenControllerConfig sets defaults for the GardenControllerConfig object.
func SetDefaults_GardenletDeployerControllerConfig ¶
func SetDefaults_GardenletDeployerControllerConfig(obj *GardenletDeployerControllerConfig)
SetDefaults_GardenletDeployerControllerConfig sets defaults for the GardenletDeployerControllerConfig object.
func SetDefaults_LeaderElectionConfiguration ¶
func SetDefaults_LeaderElectionConfiguration(obj *componentbaseconfigv1alpha1.LeaderElectionConfiguration)
SetDefaults_LeaderElectionConfiguration sets defaults for the leader election of the Gardener operator.
func SetDefaults_OperatorConfiguration ¶
func SetDefaults_OperatorConfiguration(obj *OperatorConfiguration)
SetDefaults_OperatorConfiguration sets defaults for the configuration of the Gardener operator.
func SetDefaults_ServerConfiguration ¶
func SetDefaults_ServerConfiguration(obj *ServerConfiguration)
SetDefaults_ServerConfiguration sets defaults for the server configuration.
func SetObjectDefaults_OperatorConfiguration ¶
func SetObjectDefaults_OperatorConfiguration(in *OperatorConfiguration)
Types ¶
type ConditionThreshold ¶
type ConditionThreshold struct { // Type is the type of the condition to define the threshold for. Type string `json:"type"` // Duration is the duration how long the condition can stay in the progressing state. Duration metav1.Duration `json:"duration"` }
ConditionThreshold defines the threshold of the given condition type.
func (*ConditionThreshold) DeepCopy ¶
func (in *ConditionThreshold) DeepCopy() *ConditionThreshold
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionThreshold.
func (*ConditionThreshold) DeepCopyInto ¶
func (in *ConditionThreshold) DeepCopyInto(out *ConditionThreshold)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerConfiguration ¶
type ControllerConfiguration struct { // Garden is the configuration for the garden controller. Garden GardenControllerConfig `json:"garden"` // GardenCare is the configuration for the garden care controller GardenCare GardenCareControllerConfiguration `json:"gardenCare"` // GardenletDeployer is the configuration for the gardenlet deployer controller. GardenletDeployer GardenletDeployerControllerConfig `json:"gardenletDeployer"` // NetworkPolicy is the configuration for the NetworkPolicy controller. NetworkPolicy NetworkPolicyControllerConfiguration `json:"networkPolicy"` // VPAEvictionRequirements is the configuration for the VPAEvictionrequirements controller. VPAEvictionRequirements VPAEvictionRequirementsControllerConfiguration `json:"vpaEvictionRequirements"` // Extension defines the configuration of the extension controller. Extension ExtensionControllerConfiguration `json:"extension"` // ExtensionRequiredRuntime defines the configuration of the ExtensionRequiredRuntime controller. ExtensionRequiredRuntime ExtensionRequiredRuntimeControllerConfiguration `json:"extensionRequiredRuntime"` // ExtensionRequiredVirtual defines the configuration of the ExtensionRequiredVirtual controller. ExtensionRequiredVirtual ExtensionRequiredVirtualControllerConfiguration `json:"extensionRequiredVirtual"` }
ControllerConfiguration defines the configuration of the controllers.
func (*ControllerConfiguration) DeepCopy ¶
func (in *ControllerConfiguration) DeepCopy() *ControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerConfiguration.
func (*ControllerConfiguration) DeepCopyInto ¶
func (in *ControllerConfiguration) DeepCopyInto(out *ControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionControllerConfiguration ¶
type ExtensionControllerConfiguration struct { // ConcurrentSyncs is the number of concurrent worker routines for this controller. // +optional ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"` }
ExtensionControllerConfiguration defines the configuration of the extension controller.
func (*ExtensionControllerConfiguration) DeepCopy ¶
func (in *ExtensionControllerConfiguration) DeepCopy() *ExtensionControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionControllerConfiguration.
func (*ExtensionControllerConfiguration) DeepCopyInto ¶
func (in *ExtensionControllerConfiguration) DeepCopyInto(out *ExtensionControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionRequiredRuntimeControllerConfiguration ¶
type ExtensionRequiredRuntimeControllerConfiguration struct { // ConcurrentSyncs is the number of concurrent worker routines for this controller. // +optional ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"` }
ExtensionRequiredRuntimeControllerConfiguration defines the configuration of the extension-required-runtime controller.
func (*ExtensionRequiredRuntimeControllerConfiguration) DeepCopy ¶
func (in *ExtensionRequiredRuntimeControllerConfiguration) DeepCopy() *ExtensionRequiredRuntimeControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionRequiredRuntimeControllerConfiguration.
func (*ExtensionRequiredRuntimeControllerConfiguration) DeepCopyInto ¶
func (in *ExtensionRequiredRuntimeControllerConfiguration) DeepCopyInto(out *ExtensionRequiredRuntimeControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionRequiredVirtualControllerConfiguration ¶
type ExtensionRequiredVirtualControllerConfiguration struct { // ConcurrentSyncs is the number of concurrent worker routines for this controller. // +optional ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"` }
ExtensionRequiredVirtualControllerConfiguration defines the configuration of the extension-required-virtual controller.
func (*ExtensionRequiredVirtualControllerConfiguration) DeepCopy ¶
func (in *ExtensionRequiredVirtualControllerConfiguration) DeepCopy() *ExtensionRequiredVirtualControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionRequiredVirtualControllerConfiguration.
func (*ExtensionRequiredVirtualControllerConfiguration) DeepCopyInto ¶
func (in *ExtensionRequiredVirtualControllerConfiguration) DeepCopyInto(out *ExtensionRequiredVirtualControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GardenCareControllerConfiguration ¶
type GardenCareControllerConfiguration struct { // SyncPeriod is the duration how often the existing resources are reconciled (how // often the health check is performed). // +optional SyncPeriod *metav1.Duration `json:"syncPeriod,omitempty"` // ConditionThresholds defines the condition threshold per condition type. // +optional ConditionThresholds []ConditionThreshold `json:"conditionThresholds,omitempty"` }
GardenCareControllerConfiguration defines the configuration of the GardenCare controller.
func (*GardenCareControllerConfiguration) DeepCopy ¶
func (in *GardenCareControllerConfiguration) DeepCopy() *GardenCareControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GardenCareControllerConfiguration.
func (*GardenCareControllerConfiguration) DeepCopyInto ¶
func (in *GardenCareControllerConfiguration) DeepCopyInto(out *GardenCareControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GardenControllerConfig ¶
type GardenControllerConfig struct { // ConcurrentSyncs is the number of concurrent worker routines for this controller. // +optional ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"` // SyncPeriod is the duration how often the controller performs its reconciliation. // +optional SyncPeriod *metav1.Duration `json:"syncPeriod,omitempty"` // ETCDConfig contains an optional configuration for the // backup compaction feature of ETCD backup-restore functionality. // +optional ETCDConfig *gardenletconfigv1alpha1.ETCDConfig `json:"etcdConfig,omitempty"` }
GardenControllerConfig is the configuration for the garden controller.
func (*GardenControllerConfig) DeepCopy ¶
func (in *GardenControllerConfig) DeepCopy() *GardenControllerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GardenControllerConfig.
func (*GardenControllerConfig) DeepCopyInto ¶
func (in *GardenControllerConfig) DeepCopyInto(out *GardenControllerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GardenletDeployerControllerConfig ¶
type GardenletDeployerControllerConfig struct { // ConcurrentSyncs is the number of concurrent worker routines for this controller. // +optional ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"` }
GardenletDeployerControllerConfig is the configuration for the gardenlet deployer controller.
func (*GardenletDeployerControllerConfig) DeepCopy ¶
func (in *GardenletDeployerControllerConfig) DeepCopy() *GardenletDeployerControllerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GardenletDeployerControllerConfig.
func (*GardenletDeployerControllerConfig) DeepCopyInto ¶
func (in *GardenletDeployerControllerConfig) DeepCopyInto(out *GardenletDeployerControllerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyControllerConfiguration ¶
type NetworkPolicyControllerConfiguration struct { // ConcurrentSyncs is the number of concurrent worker routines for this controller. // +optional ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"` // AdditionalNamespaceSelectors is a list of label selectors for additional namespaces that should be considered by // the controller. // +optional AdditionalNamespaceSelectors []metav1.LabelSelector `json:"additionalNamespaceSelectors,omitempty"` }
NetworkPolicyControllerConfiguration defines the configuration of the NetworkPolicy controller.
func (*NetworkPolicyControllerConfiguration) DeepCopy ¶
func (in *NetworkPolicyControllerConfiguration) DeepCopy() *NetworkPolicyControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyControllerConfiguration.
func (*NetworkPolicyControllerConfiguration) DeepCopyInto ¶
func (in *NetworkPolicyControllerConfiguration) DeepCopyInto(out *NetworkPolicyControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeTolerationConfiguration ¶
type NodeTolerationConfiguration struct { // DefaultNotReadyTolerationSeconds specifies the seconds for the `node.kubernetes.io/not-ready` toleration that // should be added to pods not already tolerating this taint. // +optional DefaultNotReadyTolerationSeconds *int64 `json:"defaultNotReadyTolerationSeconds,omitempty"` // DefaultUnreachableTolerationSeconds specifies the seconds for the `node.kubernetes.io/unreachable` toleration that // should be added to pods not already tolerating this taint. // +optional DefaultUnreachableTolerationSeconds *int64 `json:"defaultUnreachableTolerationSeconds,omitempty"` }
NodeTolerationConfiguration contains information about node toleration options.
func (*NodeTolerationConfiguration) DeepCopy ¶
func (in *NodeTolerationConfiguration) DeepCopy() *NodeTolerationConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTolerationConfiguration.
func (*NodeTolerationConfiguration) DeepCopyInto ¶
func (in *NodeTolerationConfiguration) DeepCopyInto(out *NodeTolerationConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperatorConfiguration ¶
type OperatorConfiguration struct { metav1.TypeMeta `json:",inline"` // RuntimeClientConnection specifies the kubeconfig file and the client connection settings for the proxy server to // use when communicating with the kube-apiserver of the runtime cluster. RuntimeClientConnection componentbaseconfigv1alpha1.ClientConnectionConfiguration `json:"runtimeClientConnection"` // VirtualClientConnection specifies the kubeconfig file and the client connection settings for the proxy server to // use when communicating with the kube-apiserver of the virtual cluster. VirtualClientConnection componentbaseconfigv1alpha1.ClientConnectionConfiguration `json:"virtualClientConnection"` // LeaderElection defines the configuration of leader election client. LeaderElection componentbaseconfigv1alpha1.LeaderElectionConfiguration `json:"leaderElection"` // LogLevel is the level/severity for the logs. Must be one of [info,debug,error]. LogLevel string `json:"logLevel"` // LogFormat is the output format for the logs. Must be one of [text,json]. LogFormat string `json:"logFormat"` // Server defines the configuration of the HTTP server. Server ServerConfiguration `json:"server"` // Debugging holds configuration for Debugging related features. // +optional Debugging *componentbaseconfigv1alpha1.DebuggingConfiguration `json:"debugging,omitempty"` // FeatureGates is a map of feature names to bools that enable or disable alpha/experimental features. This field // modifies piecemeal the built-in default values from "github.com/gardener/gardener/pkg/operator/features/features.go". // Default: nil // +optional FeatureGates map[string]bool `json:"featureGates,omitempty"` // Controllers defines the configuration of the controllers. Controllers ControllerConfiguration `json:"controllers"` // NodeToleration contains optional settings for default tolerations. // +optional NodeToleration *NodeTolerationConfiguration `json:"nodeToleration,omitempty"` }
OperatorConfiguration defines the configuration for the Gardener operator.
func (*OperatorConfiguration) DeepCopy ¶
func (in *OperatorConfiguration) DeepCopy() *OperatorConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorConfiguration.
func (*OperatorConfiguration) DeepCopyInto ¶
func (in *OperatorConfiguration) DeepCopyInto(out *OperatorConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OperatorConfiguration) DeepCopyObject ¶
func (in *OperatorConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Server ¶
type Server struct { // BindAddress is the IP address on which to listen for the specified port. BindAddress string `json:"bindAddress"` // Port is the port on which to serve requests. Port int `json:"port"` }
Server contains information for HTTP(S) server configuration.
func (*Server) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.
func (*Server) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerConfiguration ¶
type ServerConfiguration struct { // Webhooks is the configuration for the HTTPS webhook server. Webhooks Server `json:"webhooks"` // HealthProbes is the configuration for serving the healthz and readyz endpoints. // +optional HealthProbes *Server `json:"healthProbes,omitempty"` // Metrics is the configuration for serving the metrics endpoint. // +optional Metrics *Server `json:"metrics,omitempty"` }
ServerConfiguration contains details for the HTTP(S) servers.
func (*ServerConfiguration) DeepCopy ¶
func (in *ServerConfiguration) DeepCopy() *ServerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfiguration.
func (*ServerConfiguration) DeepCopyInto ¶
func (in *ServerConfiguration) DeepCopyInto(out *ServerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPAEvictionRequirementsControllerConfiguration ¶
type VPAEvictionRequirementsControllerConfiguration struct { // ConcurrentSyncs is the number of workers used for the controller to work on events. // +optional ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"` }
VPAEvictionRequirementsControllerConfiguration defines the configuration of the VPAEvictionRequirements controller.
func (*VPAEvictionRequirementsControllerConfiguration) DeepCopy ¶
func (in *VPAEvictionRequirementsControllerConfiguration) DeepCopy() *VPAEvictionRequirementsControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPAEvictionRequirementsControllerConfiguration.
func (*VPAEvictionRequirementsControllerConfiguration) DeepCopyInto ¶
func (in *VPAEvictionRequirementsControllerConfiguration) DeepCopyInto(out *VPAEvictionRequirementsControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.