com.coralogix.zio.k8s.operator.leader
Type members
Classlikes
Failure while gathering information about the running service
Failure while gathering information about the running service
Possible failures of the leader election algorithm
Possible failures of the leader election algorithm
- Type Params
- E
Failure type of the inner effect
Common interface for different lock implementations used for leader election.
Common interface for different lock implementations used for leader election.
Types
Value members
Concrete methods
Creates a managed lock implementing the leader election algorithm
Creates a managed lock implementing the leader election algorithm
Runs the given effect by applying the leader election algorithm, with the guarantee that the inner effect will only run at once in the Kubernetes cluster.
Runs the given effect by applying the leader election algorithm, with the guarantee that the inner effect will only run at once in the Kubernetes cluster.
If you want to manage the lock as a ZManaged use lease
- Value Params
- f
Inner effect to protect