shootstate

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShootRetriever added in v1.2.0

type ShootRetriever struct {
	runtime.Decoder
}

ShootRetriever decodes raw Shoots into objects

func (*ShootRetriever) FromCluster added in v1.2.0

FromCluster retrieves the shoot resource from the Cluster resource

type SyncController

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

SyncController replicates the extensions' resources states in Shoot's ShootState resource

func NewSyncController

func NewSyncController(ctx context.Context, gardenClient, seedClient kubernetes.Interface, extensionsSeedClient extensionsclientset.Interface, extensionsInformers extensionsinformers.SharedInformerFactory, config *config.GardenletConfiguration, log *logrus.Entry, recorder record.EventRecorder) *SyncController

NewSyncController creates new controller that syncs extensions states to ShootState

func (*SyncController) Run

func (s *SyncController) Run(ctx context.Context, shootStateSyncWorkersCount int) error

Run creates workers that reconciles extension resources and syncs their state into ShootState

func (*SyncController) Stop

func (s *SyncController) Stop()

Stop the controller

Jump to

Keyboard shortcuts

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