controllerinstallation

package
v1.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 33 Imported by: 0

Documentation

Index

Constants

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

FinalizerName is the name of the ControllerInstallation finalizer.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller controls ControllerInstallation.

func NewController

func NewController(ctx context.Context, clientMap clientmap.ClientMap, config *config.GardenletConfiguration, recorder record.EventRecorder, gardenNamespace *corev1.Namespace, gardenClusterIdentity string) (*Controller, error)

NewController instantiates a new ControllerInstallation controller.

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, careWorkers int)

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

func (*Controller) RunningWorkers

func (c *Controller) RunningWorkers() int

RunningWorkers returns the number of running workers.

type HelmDeployment

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL