Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_componentconfig_ClientConnectionConfiguration_To_v1alpha1_ClientConnectionConfiguration(in *componentconfig.ClientConnectionConfiguration, ...) error
- func Convert_componentconfig_ControllerManagerConfiguration_To_v1alpha1_ControllerManagerConfiguration(in *componentconfig.ControllerManagerConfiguration, ...) error
- func Convert_componentconfig_ControllerManagerControllerConfiguration_To_v1alpha1_ControllerManagerControllerConfiguration(in *componentconfig.ControllerManagerControllerConfiguration, ...) error
- func Convert_componentconfig_ControllerManagerImagesConfiguration_To_v1alpha1_ControllerManagerImagesConfiguration(in *componentconfig.ControllerManagerImagesConfiguration, ...) error
- func Convert_componentconfig_ControllerReconciliationConfiguration_To_v1alpha1_ControllerReconciliationConfiguration(in *componentconfig.ControllerReconciliationConfiguration, ...) error
- func Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration(in *componentconfig.LeaderElectionConfiguration, ...) error
- func Convert_componentconfig_MetricsConfiguration_To_v1alpha1_MetricsConfiguration(in *componentconfig.MetricsConfiguration, out *MetricsConfiguration, ...) error
- func Convert_componentconfig_ServerConfiguration_To_v1alpha1_ServerConfiguration(in *componentconfig.ServerConfiguration, out *ServerConfiguration, ...) error
- func Convert_v1alpha1_ClientConnectionConfiguration_To_componentconfig_ClientConnectionConfiguration(in *ClientConnectionConfiguration, ...) error
- func Convert_v1alpha1_ControllerManagerConfiguration_To_componentconfig_ControllerManagerConfiguration(in *ControllerManagerConfiguration, ...) error
- func Convert_v1alpha1_ControllerManagerControllerConfiguration_To_componentconfig_ControllerManagerControllerConfiguration(in *ControllerManagerControllerConfiguration, ...) error
- func Convert_v1alpha1_ControllerManagerImagesConfiguration_To_componentconfig_ControllerManagerImagesConfiguration(in *ControllerManagerImagesConfiguration, ...) error
- func Convert_v1alpha1_ControllerReconciliationConfiguration_To_componentconfig_ControllerReconciliationConfiguration(in *ControllerReconciliationConfiguration, ...) error
- func Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration(in *LeaderElectionConfiguration, ...) error
- func Convert_v1alpha1_MetricsConfiguration_To_componentconfig_MetricsConfiguration(in *MetricsConfiguration, out *componentconfig.MetricsConfiguration, ...) error
- func Convert_v1alpha1_ServerConfiguration_To_componentconfig_ServerConfiguration(in *ServerConfiguration, out *componentconfig.ServerConfiguration, ...) error
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_ControllerManagerConfiguration(obj *ControllerManagerConfiguration)
- func SetDefaults_LeaderElectionConfiguration(obj *LeaderElectionConfiguration)
- func SetObjectDefaults_ControllerManagerConfiguration(in *ControllerManagerConfiguration)
- type ClientConnectionConfiguration
- type ControllerManagerConfiguration
- type ControllerManagerControllerConfiguration
- type ControllerManagerImagesConfiguration
- type ControllerReconciliationConfiguration
- type LeaderElectionConfiguration
- type MetricsConfiguration
- type ServerConfiguration
Constants ¶
const ( // ControllerManagerDefaultLockObjectNamespace is the default lock namespace for leader election. ControllerManagerDefaultLockObjectNamespace = "garden" // ControllerManagerDefaultLockObjectName is the default lock name for leader election. ControllerManagerDefaultLockObjectName = "garden-controller-manager-leader-election" )
const GroupName = "componentconfig.sapcloud.io"
GroupName is the group name use 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_componentconfig_ClientConnectionConfiguration_To_v1alpha1_ClientConnectionConfiguration ¶
func Convert_componentconfig_ClientConnectionConfiguration_To_v1alpha1_ClientConnectionConfiguration(in *componentconfig.ClientConnectionConfiguration, out *ClientConnectionConfiguration, s conversion.Scope) error
Convert_componentconfig_ClientConnectionConfiguration_To_v1alpha1_ClientConnectionConfiguration is an autogenerated conversion function.
func Convert_componentconfig_ControllerManagerConfiguration_To_v1alpha1_ControllerManagerConfiguration ¶
func Convert_componentconfig_ControllerManagerConfiguration_To_v1alpha1_ControllerManagerConfiguration(in *componentconfig.ControllerManagerConfiguration, out *ControllerManagerConfiguration, s conversion.Scope) error
Convert_componentconfig_ControllerManagerConfiguration_To_v1alpha1_ControllerManagerConfiguration is an autogenerated conversion function.
func Convert_componentconfig_ControllerManagerControllerConfiguration_To_v1alpha1_ControllerManagerControllerConfiguration ¶
func Convert_componentconfig_ControllerManagerControllerConfiguration_To_v1alpha1_ControllerManagerControllerConfiguration(in *componentconfig.ControllerManagerControllerConfiguration, out *ControllerManagerControllerConfiguration, s conversion.Scope) error
Convert_componentconfig_ControllerManagerControllerConfiguration_To_v1alpha1_ControllerManagerControllerConfiguration is an autogenerated conversion function.
func Convert_componentconfig_ControllerManagerImagesConfiguration_To_v1alpha1_ControllerManagerImagesConfiguration ¶
func Convert_componentconfig_ControllerManagerImagesConfiguration_To_v1alpha1_ControllerManagerImagesConfiguration(in *componentconfig.ControllerManagerImagesConfiguration, out *ControllerManagerImagesConfiguration, s conversion.Scope) error
Convert_componentconfig_ControllerManagerImagesConfiguration_To_v1alpha1_ControllerManagerImagesConfiguration is an autogenerated conversion function.
func Convert_componentconfig_ControllerReconciliationConfiguration_To_v1alpha1_ControllerReconciliationConfiguration ¶
func Convert_componentconfig_ControllerReconciliationConfiguration_To_v1alpha1_ControllerReconciliationConfiguration(in *componentconfig.ControllerReconciliationConfiguration, out *ControllerReconciliationConfiguration, s conversion.Scope) error
Convert_componentconfig_ControllerReconciliationConfiguration_To_v1alpha1_ControllerReconciliationConfiguration is an autogenerated conversion function.
func Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration ¶
func Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration(in *componentconfig.LeaderElectionConfiguration, out *LeaderElectionConfiguration, s conversion.Scope) error
Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration is an autogenerated conversion function.
func Convert_componentconfig_MetricsConfiguration_To_v1alpha1_MetricsConfiguration ¶
func Convert_componentconfig_MetricsConfiguration_To_v1alpha1_MetricsConfiguration(in *componentconfig.MetricsConfiguration, out *MetricsConfiguration, s conversion.Scope) error
Convert_componentconfig_MetricsConfiguration_To_v1alpha1_MetricsConfiguration is an autogenerated conversion function.
func Convert_componentconfig_ServerConfiguration_To_v1alpha1_ServerConfiguration ¶
func Convert_componentconfig_ServerConfiguration_To_v1alpha1_ServerConfiguration(in *componentconfig.ServerConfiguration, out *ServerConfiguration, s conversion.Scope) error
Convert_componentconfig_ServerConfiguration_To_v1alpha1_ServerConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_ClientConnectionConfiguration_To_componentconfig_ClientConnectionConfiguration ¶
func Convert_v1alpha1_ClientConnectionConfiguration_To_componentconfig_ClientConnectionConfiguration(in *ClientConnectionConfiguration, out *componentconfig.ClientConnectionConfiguration, s conversion.Scope) error
Convert_v1alpha1_ClientConnectionConfiguration_To_componentconfig_ClientConnectionConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_ControllerManagerConfiguration_To_componentconfig_ControllerManagerConfiguration ¶
func Convert_v1alpha1_ControllerManagerConfiguration_To_componentconfig_ControllerManagerConfiguration(in *ControllerManagerConfiguration, out *componentconfig.ControllerManagerConfiguration, s conversion.Scope) error
Convert_v1alpha1_ControllerManagerConfiguration_To_componentconfig_ControllerManagerConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_ControllerManagerControllerConfiguration_To_componentconfig_ControllerManagerControllerConfiguration ¶
func Convert_v1alpha1_ControllerManagerControllerConfiguration_To_componentconfig_ControllerManagerControllerConfiguration(in *ControllerManagerControllerConfiguration, out *componentconfig.ControllerManagerControllerConfiguration, s conversion.Scope) error
Convert_v1alpha1_ControllerManagerControllerConfiguration_To_componentconfig_ControllerManagerControllerConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_ControllerManagerImagesConfiguration_To_componentconfig_ControllerManagerImagesConfiguration ¶
func Convert_v1alpha1_ControllerManagerImagesConfiguration_To_componentconfig_ControllerManagerImagesConfiguration(in *ControllerManagerImagesConfiguration, out *componentconfig.ControllerManagerImagesConfiguration, s conversion.Scope) error
Convert_v1alpha1_ControllerManagerImagesConfiguration_To_componentconfig_ControllerManagerImagesConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_ControllerReconciliationConfiguration_To_componentconfig_ControllerReconciliationConfiguration ¶
func Convert_v1alpha1_ControllerReconciliationConfiguration_To_componentconfig_ControllerReconciliationConfiguration(in *ControllerReconciliationConfiguration, out *componentconfig.ControllerReconciliationConfiguration, s conversion.Scope) error
Convert_v1alpha1_ControllerReconciliationConfiguration_To_componentconfig_ControllerReconciliationConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration ¶
func Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration(in *LeaderElectionConfiguration, out *componentconfig.LeaderElectionConfiguration, s conversion.Scope) error
Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_MetricsConfiguration_To_componentconfig_MetricsConfiguration ¶
func Convert_v1alpha1_MetricsConfiguration_To_componentconfig_MetricsConfiguration(in *MetricsConfiguration, out *componentconfig.MetricsConfiguration, s conversion.Scope) error
Convert_v1alpha1_MetricsConfiguration_To_componentconfig_MetricsConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_ServerConfiguration_To_componentconfig_ServerConfiguration ¶
func Convert_v1alpha1_ServerConfiguration_To_componentconfig_ServerConfiguration(in *ServerConfiguration, out *componentconfig.ServerConfiguration, s conversion.Scope) error
Convert_v1alpha1_ServerConfiguration_To_componentconfig_ServerConfiguration 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_ControllerManagerConfiguration ¶
func SetDefaults_ControllerManagerConfiguration(obj *ControllerManagerConfiguration)
SetDefaults_ControllerManagerConfiguration sets defaults for the configuration of the Garden controller manager.
func SetDefaults_LeaderElectionConfiguration ¶
func SetDefaults_LeaderElectionConfiguration(obj *LeaderElectionConfiguration)
SetDefaults_LeaderElectionConfiguration sets defaults for the leader election of the Garden controller manager.
func SetObjectDefaults_ControllerManagerConfiguration ¶
func SetObjectDefaults_ControllerManagerConfiguration(in *ControllerManagerConfiguration)
Types ¶
type ClientConnectionConfiguration ¶
type ClientConnectionConfiguration struct { // KubeConfigFile is the path to a kubeconfig file. KubeConfigFile string `json:"kubeconfig"` // AcceptContentTypes defines the Accept header sent by clients when connecting to // a server, overriding the default value of 'application/json'. This field will // control all connections to the server used by a particular client. AcceptContentTypes string `json:"acceptContentTypes"` // ContentType is the content type used when sending data to the server from this // client. ContentType string `json:"contentType"` // QPS controls the number of queries per second allowed for this connection. QPS float32 `json:"qps"` // Burst allows extra queries to accumulate when a client is exceeding its rate. Burst int32 `json:"burst"` }
ClientConnectionConfiguration contains details for constructing a client.
func (*ClientConnectionConfiguration) DeepCopy ¶
func (in *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration.
func (*ClientConnectionConfiguration) DeepCopyInto ¶
func (in *ClientConnectionConfiguration) DeepCopyInto(out *ClientConnectionConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerManagerConfiguration ¶
type ControllerManagerConfiguration struct { metav1.TypeMeta `json:",inline"` // ClientConnection specifies the kubeconfig file and client connection // settings for the proxy server to use when communicating with the apiserver. ClientConnection ClientConnectionConfiguration `json:"clientConnection"` // Controller defines the configuration of the controllers. Controller ControllerManagerControllerConfiguration `json:"controller"` // GardenNamespace is the namespace in which the configuration and secrets for // the Garden controller manager will be stored (e.g., secrets for the Seed clusters). // Not specifying this field means the same namespace the Garden controller manager is // running in (only reasonable when the Garden controller manager runs inside a Kubernetes // cluster). GardenNamespace string `json:"gardenNamespace"` // Images is a list of container images which are deployed by the Garden controller manager. Images []ControllerManagerImagesConfiguration `json:"images"` // LeaderElection defines the configuration of leader election client. LeaderElection LeaderElectionConfiguration `json:"leaderElection"` // LogLevel is the level/severity for the logs. Must be one of [`info`,`debug`, // `error`]. LogLevel string `json:"logLevel"` // Metrics defines the metrics configuration. Metrics MetricsConfiguration `json:"metrics"` // Server defines the configuration of the HTTP server. Server ServerConfiguration `json:"server"` }
ControllerManagerConfiguration defines the configuration for the Garden controller manager.
func (*ControllerManagerConfiguration) DeepCopy ¶
func (in *ControllerManagerConfiguration) DeepCopy() *ControllerManagerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerManagerConfiguration.
func (*ControllerManagerConfiguration) DeepCopyInto ¶
func (in *ControllerManagerConfiguration) DeepCopyInto(out *ControllerManagerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerManagerConfiguration) DeepCopyObject ¶
func (in *ControllerManagerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControllerManagerControllerConfiguration ¶
type ControllerManagerControllerConfiguration struct { // HealthCheckPeriod is the duration how often the health check of Shoot clusters // is performed (only if no operation is already running on them). HealthCheckPeriod metav1.Duration `json:"healthCheckPeriod"` // Reconciliation defines the reconciliation settings of the controllers. Reconciliation ControllerReconciliationConfiguration `json:"reconciliation"` // WatchNamespace defines the namespace which should be watched by the controller. WatchNamespace *string `json:"watchNamespace"` }
ControllerManagerControllerConfiguration contains configuration for the controllers of the Garden controller manager. Not only the usual reconciliation configuration is reflected, but also a health check period and a namespace which should be watched.
func (*ControllerManagerControllerConfiguration) DeepCopy ¶
func (in *ControllerManagerControllerConfiguration) DeepCopy() *ControllerManagerControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerManagerControllerConfiguration.
func (*ControllerManagerControllerConfiguration) DeepCopyInto ¶
func (in *ControllerManagerControllerConfiguration) DeepCopyInto(out *ControllerManagerControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerManagerImagesConfiguration ¶
type ControllerManagerImagesConfiguration struct { // Name is an alias for the image. Name string `json:"name"` // Image is the name of the image (registry location and used tag/version). Image string `json:"image"` }
ControllerManagerImagesConfiguration contains configuration for the contaimer images and tags/versions which are used by the Garden controller manager.
func (*ControllerManagerImagesConfiguration) DeepCopy ¶
func (in *ControllerManagerImagesConfiguration) DeepCopy() *ControllerManagerImagesConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerManagerImagesConfiguration.
func (*ControllerManagerImagesConfiguration) DeepCopyInto ¶
func (in *ControllerManagerImagesConfiguration) DeepCopyInto(out *ControllerManagerImagesConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerReconciliationConfiguration ¶
type ControllerReconciliationConfiguration struct { // ConcurrentSyncs is the number of workers used for the controller to work on // events. ConcurrentSyncs int `json:"concurrentSyncs"` // ConcurrentSyncs is the duration how often the caches of existing resources // are reconciled. ResyncPeriod metav1.Duration `json:"resyncPeriod"` // RetryDuration is the maximum duration how often a reconciliation will be retried // in case of errors. RetryDuration *metav1.Duration `json:"retryDuration"` }
ControllerReconciliationConfiguration contains details for the reconciliation settings of a controller.
func (*ControllerReconciliationConfiguration) DeepCopy ¶
func (in *ControllerReconciliationConfiguration) DeepCopy() *ControllerReconciliationConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerReconciliationConfiguration.
func (*ControllerReconciliationConfiguration) DeepCopyInto ¶
func (in *ControllerReconciliationConfiguration) DeepCopyInto(out *ControllerReconciliationConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LeaderElectionConfiguration ¶
type LeaderElectionConfiguration struct { // LeaderElect enables a leader election client to gain leadership // before executing the main loop. Enable this when running replicated // components for high availability. LeaderElect bool `json:"leaderElect"` // LeaseDuration is the duration that non-leader candidates will wait // after observing a leadership renewal until attempting to acquire // leadership of a led but unrenewed leader slot. This is effectively the // maximum duration that a leader can be stopped before it is replaced // by another candidate. This is only applicable if leader election is // enabled. LeaseDuration metav1.Duration `json:"leaseDuration"` // RenewDeadline is the interval between attempts by the acting master to // renew a leadership slot before it stops leading. This must be less // than or equal to the lease duration. This is only applicable if leader // election is enabled. RenewDeadline metav1.Duration `json:"renewDeadline"` // RetryPeriod is the duration the clients should wait between attempting // acquisition and renewal of a leadership. This is only applicable if // leader election is enabled. RetryPeriod metav1.Duration `json:"retryPeriod"` // ResourceLock indicates the resource object type that will be used to lock // during leader election cycles. ResourceLock string `json:"resourceLock"` // LockObjectNamespace defines the namespace of the lock object. LockObjectNamespace string `json:"lockObjectNamespace"` // LockObjectName defines the lock object name. LockObjectName string `json:"lockObjectName"` }
LeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.
func (*LeaderElectionConfiguration) DeepCopy ¶
func (in *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration.
func (*LeaderElectionConfiguration) DeepCopyInto ¶
func (in *LeaderElectionConfiguration) DeepCopyInto(out *LeaderElectionConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsConfiguration ¶
type MetricsConfiguration struct { // The interval defines how frequently metrics get scraped. Interval metav1.Duration `json:"interval"` }
MetricsConfiguration contains options to configure the metrics.
func (*MetricsConfiguration) DeepCopy ¶
func (in *MetricsConfiguration) DeepCopy() *MetricsConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsConfiguration.
func (*MetricsConfiguration) DeepCopyInto ¶
func (in *MetricsConfiguration) DeepCopyInto(out *MetricsConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerConfiguration ¶
type ServerConfiguration 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 unsecured, unauthenticated access. Port int `json:"port"` }
ServerConfiguration contains details for the HTTP server.
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.