Documentation ¶
Index ¶
Constants ¶
View Source
const FinalizerName = "core.gardener.cloud/controllerdeployment"
FinalizerName is the finalizer used by this controller.
Variables ¶
This section is empty.
Functions ¶
func NewReconciler ¶
func NewReconciler(l logrus.FieldLogger, gardenClient client.Client) reconcile.Reconciler
NewReconciler creates a new instance of a reconciler which reconciles ControllerDeployments.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller controls ManagedSeedSets.
func New ¶
func New( ctx context.Context, clientMap clientmap.ClientMap, logger *logrus.Logger, ) (*Controller, error)
New creates a new Gardener controller for ControllerDeployments.
func (*Controller) CollectMetrics ¶
func (c *Controller) CollectMetrics(ch chan<- prometheus.Metric)
CollectMetrics implements gardenmetrics.ControllerMetricsCollector interface
func (*Controller) Run ¶
func (c *Controller) Run(ctx context.Context, workers int)
Run runs the Controller until the given context is cancelled.
func (*Controller) RunningWorkers ¶
func (c *Controller) RunningWorkers() int
RunningWorkers returns the number of running workers.
Click to show internal directories.
Click to hide internal directories.