gardener: github.com/gardener/gardener/pkg/controllermanager/apis/config Index | Files | Directories

package config

import "github.com/gardener/gardener/pkg/controllermanager/apis/config"

Index

Package Files

doc.go register.go types.go zz_generated.deepcopy.go

Constants

const (
    // ControllerManagerDefaultLockObjectNamespace is the default lock namespace for leader election.
    ControllerManagerDefaultLockObjectNamespace = "garden"

    // ControllerManagerDefaultLockObjectName is the default lock name for leader election.
    ControllerManagerDefaultLockObjectName = "gardener-controller-manager-leader-election"
)
const GroupName = "controllermanager.config.gardener.cloud"

GroupName is the group name use 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

func Kind Uses

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type CloudProfileControllerConfiguration Uses

type CloudProfileControllerConfiguration struct {
    // ConcurrentSyncs is the number of workers used for the controller to work on
    // events.
    ConcurrentSyncs int
}

CloudProfileControllerConfiguration defines the configuration of the CloudProfile controller.

func (*CloudProfileControllerConfiguration) DeepCopy Uses

func (in *CloudProfileControllerConfiguration) DeepCopy() *CloudProfileControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProfileControllerConfiguration.

func (*CloudProfileControllerConfiguration) DeepCopyInto Uses

func (in *CloudProfileControllerConfiguration) DeepCopyInto(out *CloudProfileControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControllerManagerConfiguration Uses

type ControllerManagerConfiguration struct {
    metav1.TypeMeta
    // GardenClientConnection specifies the kubeconfig file and the client connection settings
    // for the proxy server to use when communicating with the garden apiserver.
    GardenClientConnection componentbaseconfig.ClientConnectionConfiguration
    // Controllers defines the configuration of the controllers.
    Controllers ControllerManagerControllerConfiguration
    // LeaderElection defines the configuration of leader election client.
    LeaderElection LeaderElectionConfiguration
    // Discovery defines the configuration of the discovery client.
    Discovery DiscoveryConfiguration
    // LogLevel is the level/severity for the logs. Must be one of [info,debug,error].
    LogLevel string
    // KubernetesLogLevel is the log level used for Kubernetes' k8s.io/klog functions.
    KubernetesLogLevel klog.Level
    // Server defines the configuration of the HTTP server.
    Server ServerConfiguration
    // 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/features/gardener_features.go".
    // Default: nil
    FeatureGates map[string]bool
}

ControllerManagerConfiguration defines the configuration for the Gardener controller manager.

func (*ControllerManagerConfiguration) DeepCopy Uses

func (in *ControllerManagerConfiguration) DeepCopy() *ControllerManagerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerManagerConfiguration.

func (*ControllerManagerConfiguration) DeepCopyInto Uses

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 Uses

func (in *ControllerManagerConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ControllerManagerControllerConfiguration Uses

type ControllerManagerControllerConfiguration struct {
    // CloudProfile defines the configuration of the CloudProfile controller.
    CloudProfile *CloudProfileControllerConfiguration
    // ControllerRegistration defines the configuration of the ControllerRegistration controller.
    ControllerRegistration *ControllerRegistrationControllerConfiguration
    // Plant defines the configuration of the Plant controller.
    Plant *PlantControllerConfiguration
    // Project defines the configuration of the Project controller.
    Project *ProjectControllerConfiguration
    // Quota defines the configuration of the Quota controller.
    Quota *QuotaControllerConfiguration
    // SecretBinding defines the configuration of the SecretBinding controller.
    SecretBinding *SecretBindingControllerConfiguration
    // Seed defines the configuration of the Seed controller.
    Seed *SeedControllerConfiguration
    // ShootMaintenance defines the configuration of the ShootMaintenance controller.
    ShootMaintenance ShootMaintenanceControllerConfiguration
    // ShootQuota defines the configuration of the ShootQuota controller.
    ShootQuota ShootQuotaControllerConfiguration
    // ShootHibernation defines the configuration of the ShootHibernation controller.
    ShootHibernation ShootHibernationControllerConfiguration
}

ControllerManagerControllerConfiguration defines the configuration of the controllers.

func (*ControllerManagerControllerConfiguration) DeepCopy Uses

func (in *ControllerManagerControllerConfiguration) DeepCopy() *ControllerManagerControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerManagerControllerConfiguration.

func (*ControllerManagerControllerConfiguration) DeepCopyInto Uses

func (in *ControllerManagerControllerConfiguration) DeepCopyInto(out *ControllerManagerControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControllerRegistrationControllerConfiguration Uses

type ControllerRegistrationControllerConfiguration struct {
    // ConcurrentSyncs is the number of workers used for the controller to work on
    // events.
    ConcurrentSyncs int
}

ControllerRegistrationControllerConfiguration defines the configuration of the ControllerRegistration controller.

func (*ControllerRegistrationControllerConfiguration) DeepCopy Uses

func (in *ControllerRegistrationControllerConfiguration) DeepCopy() *ControllerRegistrationControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRegistrationControllerConfiguration.

func (*ControllerRegistrationControllerConfiguration) DeepCopyInto Uses

func (in *ControllerRegistrationControllerConfiguration) DeepCopyInto(out *ControllerRegistrationControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DiscoveryConfiguration Uses

type DiscoveryConfiguration struct {
    // DiscoveryCacheDir is the directory to store discovery cache information.
    // If unset, the discovery client will use the current working directory.
    DiscoveryCacheDir *string
    // HTTPCacheDir is the directory to store discovery HTTP cache information.
    // If unset, no HTTP caching will be done.
    HTTPCacheDir *string
    // TTL is the ttl how long discovery cache information shall be valid.
    TTL *metav1.Duration
}

DiscoveryConfiguration defines the configuration of how to discover API groups. It allows to set where to store caching data and to specify the TTL of that data.

func (*DiscoveryConfiguration) DeepCopy Uses

func (in *DiscoveryConfiguration) DeepCopy() *DiscoveryConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryConfiguration.

func (*DiscoveryConfiguration) DeepCopyInto Uses

func (in *DiscoveryConfiguration) DeepCopyInto(out *DiscoveryConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HTTPSServer Uses

type HTTPSServer struct {
    // Server is the configuration for the bind address and the port.
    Server
    // TLSServer contains information about the TLS configuration for a HTTPS server.
    TLS TLSServer
}

HTTPSServer is the configuration for the HTTPSServer server.

func (*HTTPSServer) DeepCopy Uses

func (in *HTTPSServer) DeepCopy() *HTTPSServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPSServer.

func (*HTTPSServer) DeepCopyInto Uses

func (in *HTTPSServer) DeepCopyInto(out *HTTPSServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LeaderElectionConfiguration Uses

type LeaderElectionConfiguration struct {
    componentbaseconfig.LeaderElectionConfiguration
    // LockObjectNamespace defines the namespace of the lock object.
    LockObjectNamespace string
    // LockObjectName defines the lock object name.
    LockObjectName string
}

LeaderElectionConfiguration defines the configuration of leader election clients for components that can run with leader election enabled.

func (*LeaderElectionConfiguration) DeepCopy Uses

func (in *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration.

func (*LeaderElectionConfiguration) DeepCopyInto Uses

func (in *LeaderElectionConfiguration) DeepCopyInto(out *LeaderElectionConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlantControllerConfiguration Uses

type PlantControllerConfiguration struct {
    // ConcurrentSyncs is the number of workers used for the controller to work on
    // events.
    ConcurrentSyncs int
    // SyncPeriod is the duration how often the existing resources are reconciled.
    SyncPeriod metav1.Duration
}

PlantControllerConfiguration defines the configuration of the PlantControllerConfiguration controller.

func (*PlantControllerConfiguration) DeepCopy Uses

func (in *PlantControllerConfiguration) DeepCopy() *PlantControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlantControllerConfiguration.

func (*PlantControllerConfiguration) DeepCopyInto Uses

func (in *PlantControllerConfiguration) DeepCopyInto(out *PlantControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectControllerConfiguration Uses

type ProjectControllerConfiguration struct {
    // ConcurrentSyncs is the number of workers used for the controller to work on
    // events.
    ConcurrentSyncs int
}

ProjectControllerConfiguration defines the configuration of the Project controller.

func (*ProjectControllerConfiguration) DeepCopy Uses

func (in *ProjectControllerConfiguration) DeepCopy() *ProjectControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectControllerConfiguration.

func (*ProjectControllerConfiguration) DeepCopyInto Uses

func (in *ProjectControllerConfiguration) DeepCopyInto(out *ProjectControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type QuotaControllerConfiguration Uses

type QuotaControllerConfiguration struct {
    // ConcurrentSyncs is the number of workers used for the controller to work on
    // events.
    ConcurrentSyncs int
}

QuotaControllerConfiguration defines the configuration of the Quota controller.

func (*QuotaControllerConfiguration) DeepCopy Uses

func (in *QuotaControllerConfiguration) DeepCopy() *QuotaControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuotaControllerConfiguration.

func (*QuotaControllerConfiguration) DeepCopyInto Uses

func (in *QuotaControllerConfiguration) DeepCopyInto(out *QuotaControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretBindingControllerConfiguration Uses

type SecretBindingControllerConfiguration struct {
    // ConcurrentSyncs is the number of workers used for the controller to work on
    // events.
    ConcurrentSyncs int
}

SecretBindingControllerConfiguration defines the configuration of the SecretBinding controller.

func (*SecretBindingControllerConfiguration) DeepCopy Uses

func (in *SecretBindingControllerConfiguration) DeepCopy() *SecretBindingControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBindingControllerConfiguration.

func (*SecretBindingControllerConfiguration) DeepCopyInto Uses

func (in *SecretBindingControllerConfiguration) DeepCopyInto(out *SecretBindingControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SeedControllerConfiguration Uses

type SeedControllerConfiguration struct {
    // ConcurrentSyncs is the number of workers used for the controller to work on
    // events.
    ConcurrentSyncs int
    // MonitorPeriod is the duration after the seed controller will mark the `GardenletReady`
    // condition in `Seed` resources as `Unknown` in case the gardenlet did not send heartbeats.
    // +optional
    MonitorPeriod *metav1.Duration
    // ShootMonitorPeriod is the duration after the seed controller will mark Gardener's conditions
    // in `Shoot` resources as `Unknown` in case the gardenlet of the responsible seed cluster did
    // not send heartbeats.
    ShootMonitorPeriod *metav1.Duration
    // SyncPeriod is the duration how often the existing resources are reconciled.
    SyncPeriod metav1.Duration
}

SeedControllerConfiguration defines the configuration of the Seed controller.

func (*SeedControllerConfiguration) DeepCopy Uses

func (in *SeedControllerConfiguration) DeepCopy() *SeedControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeedControllerConfiguration.

func (*SeedControllerConfiguration) DeepCopyInto Uses

func (in *SeedControllerConfiguration) DeepCopyInto(out *SeedControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Server Uses

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 unsecured, unauthenticated access.
    Port int
}

Server contains information for HTTP(S) server configuration.

func (*Server) DeepCopy Uses

func (in *Server) DeepCopy() *Server

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.

func (*Server) DeepCopyInto Uses

func (in *Server) DeepCopyInto(out *Server)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServerConfiguration Uses

type ServerConfiguration struct {
    // HTTP is the configuration for the HTTP server.
    HTTP Server
    // HTTPS is the configuration for the HTTPS server.
    HTTPS HTTPSServer
}

ServerConfiguration contains details for the HTTP(S) servers.

func (*ServerConfiguration) DeepCopy Uses

func (in *ServerConfiguration) DeepCopy() *ServerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfiguration.

func (*ServerConfiguration) DeepCopyInto Uses

func (in *ServerConfiguration) DeepCopyInto(out *ServerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootHibernationControllerConfiguration Uses

type ShootHibernationControllerConfiguration struct {
    // ConcurrentSyncs is the number of workers used for the controller to work on
    // events.
    ConcurrentSyncs int
}

ShootHibernationControllerConfiguration defines the configuration of the ShootHibernation controller.

func (*ShootHibernationControllerConfiguration) DeepCopy Uses

func (in *ShootHibernationControllerConfiguration) DeepCopy() *ShootHibernationControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootHibernationControllerConfiguration.

func (*ShootHibernationControllerConfiguration) DeepCopyInto Uses

func (in *ShootHibernationControllerConfiguration) DeepCopyInto(out *ShootHibernationControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootMaintenanceControllerConfiguration Uses

type ShootMaintenanceControllerConfiguration struct {
    // ConcurrentSyncs is the number of workers used for the controller to work on
    // events.
    ConcurrentSyncs int
    // EnableShootControlPlaneRestarter configures whether adequate pods of the shoot control plane are restarted during maintenance.
    EnableShootControlPlaneRestarter *bool
}

ShootMaintenanceControllerConfiguration defines the configuration of the ShootMaintenance controller.

func (*ShootMaintenanceControllerConfiguration) DeepCopy Uses

func (in *ShootMaintenanceControllerConfiguration) DeepCopy() *ShootMaintenanceControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootMaintenanceControllerConfiguration.

func (*ShootMaintenanceControllerConfiguration) DeepCopyInto Uses

func (in *ShootMaintenanceControllerConfiguration) DeepCopyInto(out *ShootMaintenanceControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ShootQuotaControllerConfiguration Uses

type ShootQuotaControllerConfiguration struct {
    // ConcurrentSyncs is the number of workers used for the controller to work on
    // events.
    ConcurrentSyncs int
    // SyncPeriod is the duration how often the existing resources are reconciled
    // (how often Shoots referenced Quota is checked).
    SyncPeriod metav1.Duration
}

ShootQuotaControllerConfiguration defines the configuration of the ShootQuota controller.

func (*ShootQuotaControllerConfiguration) DeepCopy Uses

func (in *ShootQuotaControllerConfiguration) DeepCopy() *ShootQuotaControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShootQuotaControllerConfiguration.

func (*ShootQuotaControllerConfiguration) DeepCopyInto Uses

func (in *ShootQuotaControllerConfiguration) DeepCopyInto(out *ShootQuotaControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TLSServer Uses

type TLSServer struct {
    // ServerCertPath is the path to the server certificate file.
    ServerCertPath string
    // ServerKeyPath is the path to the private key file.
    ServerKeyPath string
}

TLSServer contains information about the TLS configuration for a HTTPS server.

func (*TLSServer) DeepCopy Uses

func (in *TLSServer) DeepCopy() *TLSServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSServer.

func (*TLSServer) DeepCopyInto Uses

func (in *TLSServer) DeepCopyInto(out *TLSServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

PathSynopsis
v1alpha1

Package config imports 5 packages (graph) and is imported by 5 packages. Updated 2020-04-03. Refresh now. Tools for package owners.