Documentation ¶
Index ¶
- func ComputeOperationType(lastOperation *gardenv1beta1.LastOperation) gardenv1beta1.ShootLastOperationType
- func CreateWorker(queue workqueue.RateLimitingInterface, resourceType string, ...)
- func DetermineBackupInfrastructureAssociations(seed *gardenv1beta1.Seed, ...) ([]string, error)
- func DetermineSecretBindingAssociations(quota *gardenv1beta1.Quota, bindingLister gardenlisters.SecretBindingLister) ([]string, error)
- func DetermineShootAssociations(obj interface{}, shootLister gardenlisters.ShootLister) ([]string, error)
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.