Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration(in *config.ControllerConfiguration, out *ControllerConfiguration, ...) error
- func Convert_config_GardenControllerConfig_To_v1alpha1_GardenControllerConfig(in *config.GardenControllerConfig, out *GardenControllerConfig, ...) error
- func Convert_config_OperatorConfiguration_To_v1alpha1_OperatorConfiguration(in *config.OperatorConfiguration, out *OperatorConfiguration, ...) error
- func Convert_config_ServerConfiguration_To_v1alpha1_ServerConfiguration(in *config.ServerConfiguration, out *ServerConfiguration, s conversion.Scope) error
- func Convert_config_Server_To_v1alpha1_Server(in *config.Server, out *Server, s conversion.Scope) error
- func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration(in *ControllerConfiguration, out *config.ControllerConfiguration, ...) error
- func Convert_v1alpha1_GardenControllerConfig_To_config_GardenControllerConfig(in *GardenControllerConfig, out *config.GardenControllerConfig, ...) error
- func Convert_v1alpha1_OperatorConfiguration_To_config_OperatorConfiguration(in *OperatorConfiguration, out *config.OperatorConfiguration, ...) error
- func Convert_v1alpha1_ServerConfiguration_To_config_ServerConfiguration(in *ServerConfiguration, out *config.ServerConfiguration, s conversion.Scope) error
- func Convert_v1alpha1_Server_To_config_Server(in *Server, out *config.Server, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_ClientConnectionConfiguration(obj *componentbaseconfigv1alpha1.ClientConnectionConfiguration)
- func SetDefaults_GardenControllerConfig(obj *GardenControllerConfig)
- func SetDefaults_LeaderElectionConfiguration(obj *componentbaseconfigv1alpha1.LeaderElectionConfiguration)
- func SetDefaults_OperatorConfiguration(obj *OperatorConfiguration)
- func SetDefaults_ServerConfiguration(obj *ServerConfiguration)
- func SetObjectDefaults_OperatorConfiguration(in *OperatorConfiguration)
- type ControllerConfiguration
- type GardenControllerConfig
- type OperatorConfiguration
- type Server
- type ServerConfiguration
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 Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration ¶
func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration(in *config.ControllerConfiguration, out *ControllerConfiguration, s conversion.Scope) error
Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration is an autogenerated conversion function.
func Convert_config_GardenControllerConfig_To_v1alpha1_GardenControllerConfig ¶
func Convert_config_GardenControllerConfig_To_v1alpha1_GardenControllerConfig(in *config.GardenControllerConfig, out *GardenControllerConfig, s conversion.Scope) error
Convert_config_GardenControllerConfig_To_v1alpha1_GardenControllerConfig is an autogenerated conversion function.
func Convert_config_OperatorConfiguration_To_v1alpha1_OperatorConfiguration ¶
func Convert_config_OperatorConfiguration_To_v1alpha1_OperatorConfiguration(in *config.OperatorConfiguration, out *OperatorConfiguration, s conversion.Scope) error
Convert_config_OperatorConfiguration_To_v1alpha1_OperatorConfiguration is an autogenerated conversion function.
func Convert_config_ServerConfiguration_To_v1alpha1_ServerConfiguration ¶
func Convert_config_ServerConfiguration_To_v1alpha1_ServerConfiguration(in *config.ServerConfiguration, out *ServerConfiguration, s conversion.Scope) error
Convert_config_ServerConfiguration_To_v1alpha1_ServerConfiguration is an autogenerated conversion function.
func Convert_config_Server_To_v1alpha1_Server ¶
func Convert_config_Server_To_v1alpha1_Server(in *config.Server, out *Server, s conversion.Scope) error
Convert_config_Server_To_v1alpha1_Server is an autogenerated conversion function.
func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration ¶
func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration(in *ControllerConfiguration, out *config.ControllerConfiguration, s conversion.Scope) error
Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_GardenControllerConfig_To_config_GardenControllerConfig ¶
func Convert_v1alpha1_GardenControllerConfig_To_config_GardenControllerConfig(in *GardenControllerConfig, out *config.GardenControllerConfig, s conversion.Scope) error
Convert_v1alpha1_GardenControllerConfig_To_config_GardenControllerConfig is an autogenerated conversion function.
func Convert_v1alpha1_OperatorConfiguration_To_config_OperatorConfiguration ¶
func Convert_v1alpha1_OperatorConfiguration_To_config_OperatorConfiguration(in *OperatorConfiguration, out *config.OperatorConfiguration, s conversion.Scope) error
Convert_v1alpha1_OperatorConfiguration_To_config_OperatorConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_ServerConfiguration_To_config_ServerConfiguration ¶
func Convert_v1alpha1_ServerConfiguration_To_config_ServerConfiguration(in *ServerConfiguration, out *config.ServerConfiguration, s conversion.Scope) error
Convert_v1alpha1_ServerConfiguration_To_config_ServerConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_Server_To_config_Server ¶
func Convert_v1alpha1_Server_To_config_Server(in *Server, out *config.Server, s conversion.Scope) error
Convert_v1alpha1_Server_To_config_Server is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
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_GardenControllerConfig ¶
func SetDefaults_GardenControllerConfig(obj *GardenControllerConfig)
SetDefaults_GardenControllerConfig sets defaults for the GardenControllerConfig 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 ControllerConfiguration ¶
type ControllerConfiguration struct { // Garden is the configuration for the garden controller. Garden GardenControllerConfig `json:"garden"` }
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 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 *gardenletv1alpha1.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 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"` }
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.