Documentation ¶
Index ¶
Constants ¶
View Source
const ( RolePrimary = "primary" RoleReplica = "replica" LeaseDurationEnv = "LEASE_DURATION" RenewDeadlineEnv = "RENEW_DEADLINE" RetryPeriodEnv = "RETRY_PERIOD" )
Variables ¶
This section is empty.
Functions ¶
func GetLeaderLockName ¶
func RunLeaderElection ¶
func RunLeaderElection()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.