Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControllerRingCreatedOrUpdated ¶
ControllerRingCreatedOrUpdated reacts on create and update events with generation changes but ignores delete events. On deletion, there is nothing to do for the sharding controllers.
func IsShardLease ¶
IsShardLease filters for events on Lease objects that have a non-empty label specifying the ControllerRing.
func ShardLeaseAvailabilityChanged ¶
func ShardLeaseAvailabilityChanged(clock clock.PassiveClock) predicate.Predicate
ShardLeaseAvailabilityChanged reacts on lease events where the shard's availability changes.
func ShardLeaseStateChanged ¶
func ShardLeaseStateChanged(clock clock.PassiveClock) predicate.Predicate
ShardLeaseStateChanged reacts on lease events where the shard's state changes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.