Documentation ¶
Index ¶
- func CheckIfResourceVersionChanged(oldShoot *gardenv1beta1.Shoot, newShoot *gardenv1beta1.Shoot) bool
- func CheckIfSpecChanged(oldShoot *gardenv1beta1.Shoot, newShoot *gardenv1beta1.Shoot) bool
- func CheckIfStatusChanged(oldShoot *gardenv1beta1.Shoot, newShoot *gardenv1beta1.Shoot) bool
- func CreateWorker(queue workqueue.RateLimitingInterface, resourceType string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfResourceVersionChanged ¶
func CheckIfResourceVersionChanged(oldShoot *gardenv1beta1.Shoot, newShoot *gardenv1beta1.Shoot) bool
CheckIfResourceVersionChanged returns true if the .metadata.resourceVersion fields of oldShoot and newShoot differ, and false otherwise.
func CheckIfSpecChanged ¶
func CheckIfSpecChanged(oldShoot *gardenv1beta1.Shoot, newShoot *gardenv1beta1.Shoot) bool
CheckIfSpecChanged returns true if the .spec fields of oldShoot and newShoot differ, and false otherwise.
func CheckIfStatusChanged ¶
func CheckIfStatusChanged(oldShoot *gardenv1beta1.Shoot, newShoot *gardenv1beta1.Shoot) bool
CheckIfStatusChanged returns true if the .status fields of oldShoot and newShoot differ, and false otherwise.
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.