Documentation ¶
Index ¶
Constants ¶
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.NewSchemeBuilder(addKnownTypes) // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ControllerConfiguration ¶
type ControllerConfiguration struct { // Garden is the configuration for the garden controller. Garden GardenControllerConfig }
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. ConcurrentSyncs *int // SyncPeriod is the duration how often the controller performs its reconciliation. SyncPeriod *metav1.Duration // ETCDConfig contains an optional configuration for the // backup compaction feature of ETCD backup-restore functionality. ETCDConfig *gardenletconfig.ETCDConfig }
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 // 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 componentbaseconfig.ClientConnectionConfiguration // LeaderElection defines the configuration of leader election client. LeaderElection componentbaseconfig.LeaderElectionConfiguration // LogLevel is the level/severity for the logs. Must be one of [info,debug,error]. LogLevel string // LogFormat is the output format for the logs. Must be one of [text,json]. LogFormat string // Server defines the configuration of the HTTP server. Server ServerConfiguration // Debugging holds configuration for Debugging related features. Debugging *componentbaseconfig.DebuggingConfiguration // 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 FeatureGates map[string]bool // Controllers defines the configuration of the controllers. Controllers ControllerConfiguration }
OperatorConfiguration defines the configuration for the Gardener oeprator.
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 // Port is the port on which to serve requests. Port int }
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 // HealthProbes is the configuration for serving the healthz and readyz endpoints. HealthProbes *Server // Metrics is the configuration for serving the metrics endpoint. Metrics *Server }
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.