predicate

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControllerRingCreatedOrUpdated

func ControllerRingCreatedOrUpdated() predicate.Predicate

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

func IsShardLease() predicate.Predicate

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.

Jump to

Keyboard shortcuts

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