extensions

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller watches the extension resources and has several control loops.

func NewController

func NewController(ctx context.Context, gardenClient, seedClient kubernetes.Interface, seedName string, log *logrus.Entry, recorder record.EventRecorder) (*Controller, error)

NewController creates new controller that syncs extensions states to ShootState

func (*Controller) Run

func (s *Controller) Run(ctx context.Context, controllerInstallationWorkers, shootStateWorkers int) error

Run creates workers that reconciles extension resources.

func (*Controller) Stop

func (s *Controller) Stop()

Stop the controller

type ShootRetriever

type ShootRetriever struct {
	runtime.Decoder
}

ShootRetriever decodes raw Shoots into objects

func NewShootRetriever

func NewShootRetriever() *ShootRetriever

NewShootRetriever returns a new shoot retriever.

func (*ShootRetriever) FromCluster

FromCluster retrieves the shoot resource from the Cluster resource

Jump to

Keyboard shortcuts

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