gardener: github.com/gardener/gardener/pkg/controllermanager/controller/controllerregistration Index | Files

package controllerregistration

import "github.com/gardener/gardener/pkg/controllermanager/controller/controllerregistration"

Index

Package Files

backupbucket_control.go backupentry_control.go controllerregistration.go controllerregistration_control.go controllerregistration_seed_control.go seed_control.go shoot_control.go

Constants

const FinalizerName = "core.gardener.cloud/controllerregistration"

FinalizerName is the finalizer used by this controller.

type ControlInterface Uses

type ControlInterface interface {
    Reconcile(*gardencorev1beta1.ControllerRegistration) error
}

ControlInterface implements the control logic for updating ControllerRegistrations. It is implemented as an interface to allow for extensions that provide different semantics. Currently, there is only one implementation.

func NewDefaultControllerRegistrationControl Uses

func NewDefaultControllerRegistrationControl(k8sGardenClient kubernetes.Interface, controllerInstallationLister gardencorelisters.ControllerInstallationLister) ControlInterface

NewDefaultControllerRegistrationControl returns a new instance of the default implementation ControlInterface that implements the documented semantics for ControllerRegistrations. You should use an instance returned from NewDefaultControllerRegistrationControl() for any scenario other than testing.

type Controller Uses

type Controller struct {
    // contains filtered or unexported fields
}

Controller controls ControllerRegistration.

func NewController Uses

func NewController(
    k8sGardenClient kubernetes.Interface,
    gardenCoreInformerFactory gardencoreinformers.SharedInformerFactory,
    secrets map[string]*corev1.Secret,
) *Controller

NewController instantiates a new ControllerRegistration controller.

func (*Controller) CollectMetrics Uses

func (c *Controller) CollectMetrics(ch chan<- prometheus.Metric)

CollectMetrics implements gardenmetrics.ControllerMetricsCollector interface

func (*Controller) Run Uses

func (c *Controller) Run(ctx context.Context, workers int)

Run runs the Controller until the given stop channel can be read from.

func (*Controller) RunningWorkers Uses

func (c *Controller) RunningWorkers() int

RunningWorkers returns the number of running workers.

type RegistrationSeedControlInterface Uses

type RegistrationSeedControlInterface interface {
    Reconcile(*gardencorev1beta1.Seed) error
}

RegistrationSeedControlInterface implements the control logic for updating Seeds. It is implemented as an interface to allow for extensions that provide different semantics. Currently, there is only one implementation.

func NewDefaultControllerRegistrationSeedControl Uses

func NewDefaultControllerRegistrationSeedControl(
    k8sGardenClient kubernetes.Interface,
    secrets map[string]*corev1.Secret,
    backupBucketLister gardencorelisters.BackupBucketLister,
    controllerInstallationLister gardencorelisters.ControllerInstallationLister,
    controllerRegistrationLister gardencorelisters.ControllerRegistrationLister,
    seedLister gardencorelisters.SeedLister,
) RegistrationSeedControlInterface

NewDefaultControllerRegistrationSeedControl returns a new instance of the default implementation ControlInterface that implements the documented semantics for Seeds. You should use an instance returned from NewDefaultControllerRegistrationSeedControl() for any scenario other than testing.

type SeedControlInterface Uses

type SeedControlInterface interface {
    Reconcile(*gardencorev1beta1.Seed) error
}

SeedControlInterface implements the control logic for updating Seeds. It is implemented as an interface to allow for extensions that provide different semantics. Currently, there is only one implementation.

func NewDefaultSeedControl Uses

func NewDefaultSeedControl(k8sGardenClient kubernetes.Interface, controllerInstallationLister gardencorelisters.ControllerInstallationLister) SeedControlInterface

NewDefaultSeedControl returns a new instance of the default implementation ControlInterface that implements the documented semantics for Seeds. You should use an instance returned from NewDefaultSeedControl() for any scenario other than testing.

Package controllerregistration imports 32 packages (graph) and is imported by 1 packages. Updated 2020-04-01. Refresh now. Tools for package owners.