utils

package
v0.0.0-...-b43e092 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeOperationType

func ComputeOperationType(lastOperation *gardenv1beta1.LastOperation) gardenv1beta1.ShootLastOperationType

ComputeOperationType checksthe <lastOperation> and determines whether is it is Create operation or reconcile operation

func CreateWorker

func CreateWorker(queue workqueue.RateLimitingInterface, resourceType string, reconciler func(key string) error, stopCh <-chan struct{}, waitGroup *sync.WaitGroup, workerCh chan int)

CreateWorker creates and runs a worker thread that just processes items in the specified queue. The worker will run until stopCh is closed. The worker will be added to the wait group when started and marked done when finished.

func DetermineBackupInfrastructureAssociations

func DetermineBackupInfrastructureAssociations(seed *gardenv1beta1.Seed, backupInfrastructureLister gardenlisters.BackupInfrastructureLister) ([]string, error)

DetermineBackupInfrastructureAssociations gets a <backupInfrastructureLister> to determine the BackupInfrastructures resources which are associated to given <seed>

func DetermineSecretBindingAssociations

func DetermineSecretBindingAssociations(quota *gardenv1beta1.Quota, bindingLister gardenlisters.SecretBindingLister) ([]string, error)

DetermineSecretBindingAssociations gets a <bindingLister> to determine the SecretBinding resources which are associated to given Quota <obj>.

func DetermineShootAssociations

func DetermineShootAssociations(obj interface{}, shootLister gardenlisters.ShootLister) ([]string, error)

DetermineShootAssociations gets a <shootLister> to determine the Shoots resources which are associated to given <obj> (either a CloudProfile a or a Seed object).

Types

This section is empty.

Jump to

Keyboard shortcuts

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