Documentation ¶
Index ¶
- func NewSqlLock(name string, client *ent.Client, rlc resourcelock2.ResourceLockConfig) resourcelock.Interface
- func SqlResourceVersionPlusOne(rv string) (string, error)
- func ToLeaderElectionRecord(do *ent.LeaderElect) *resourcelock.LeaderElectionRecord
- func ToSqlLockDo(ler *resourcelock.LeaderElectionRecord) *ent.LeaderElect
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSqlLock ¶
func NewSqlLock(name string, client *ent.Client, rlc resourcelock2.ResourceLockConfig) resourcelock.Interface
func ToLeaderElectionRecord ¶
func ToLeaderElectionRecord(do *ent.LeaderElect) *resourcelock.LeaderElectionRecord
func ToSqlLockDo ¶
func ToSqlLockDo(ler *resourcelock.LeaderElectionRecord) *ent.LeaderElect
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.