gardener: github.com/gardener/gardener/pkg/gardenlet/controller/controllerinstallation Index | Files

package controllerinstallation

import "github.com/gardener/gardener/pkg/gardenlet/controller/controllerinstallation"

Index

Package Files

controllerinstallation.go controllerinstallation_care_control.go controllerinstallation_control.go controllerinstallation_types.go

Constants

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

FinalizerName is the name of the ControllerInstallation finalizer.

type CareControlInterface Uses

type CareControlInterface interface {
    Care(controllerInstallation *gardencorev1beta1.ControllerInstallation, key string) error
}

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

func NewDefaultCareControl Uses

func NewDefaultCareControl(k8sGardenClient kubernetes.Interface, config *config.GardenletConfiguration) CareControlInterface

NewDefaultCareControl returns a new instance of the default implementation CareControlInterface that implements the documented semantics for caring for ControllerInstallations. You should use an instance returned from NewDefaultCareControl() for any scenario other than testing.

type ControlInterface Uses

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

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

func NewDefaultControllerInstallationControl Uses

func NewDefaultControllerInstallationControl(k8sGardenClient kubernetes.Interface, k8sGardenCoreInformers gardencoreinformers.SharedInformerFactory, recorder record.EventRecorder, config *config.GardenletConfiguration, seedLister gardencorelisters.SeedLister, controllerRegistrationLister gardencorelisters.ControllerRegistrationLister, controllerInstallationLister gardencorelisters.ControllerInstallationLister, gardenNamespace *corev1.Namespace) ControlInterface

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

type Controller Uses

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

Controller controls ControllerInstallation.

func NewController Uses

func NewController(k8sGardenClient kubernetes.Interface, gardenCoreInformerFactory gardencoreinformers.SharedInformerFactory, config *config.GardenletConfiguration, recorder record.EventRecorder, gardenNamespace *corev1.Namespace) *Controller

NewController instantiates a new ControllerInstallation 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, careWorkers 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 HelmDeployment Uses

type HelmDeployment struct {
    // Chart is a Helm chart tarball.
    Chart []byte `json:"chart,omitempty"`
    // Values is a map of values for the given chart.
    Values map[string]interface{} `json:"values,omitempty"`
}

HelmDeployment is a providerConfig specific type for ControllerInstallation.

Package controllerinstallation imports 40 packages (graph) and is imported by 1 packages. Updated 2020-02-23. Refresh now. Tools for package owners.