package
1.5.1
Repository: https://github.com/csrwng/origin.git
Documentation: pkg.go.dev

# Functions

NewEtcd creates a Lease in etcd, storing value at key with expiration ttl and continues to refresh it until the key is lost, expires, or another client takes it.

# Structs

Etcd takes and holds a leader lease until it can no longer confirm it owns the lease, then returns.

# Interfaces

Leaser allows a caller to acquire a lease and be notified when it is lost.