com.coralogix.zio.k8s.operator.leader
Type members
Classlikes
Inner effect failed
Inner effect failed
Failure while gathering information about the running service
Failure while gathering information about the running service
Failure while calling the Date-Time API
Failure while calling the Date-Time API
Failure while calling the Kubernetes API
Failure while calling the Kubernetes API
Possible failures of the leader election algorithm
Possible failures of the leader election algorithm
- Type parameters:
- 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 parameters:
- f
Inner effect to protect