Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
clientv3.Lease
clientv3.KV
clientv3.Watcher
DeletePair(context.Context, string, string) error
PutIfNotExists(context.Context, string, string, ...clientv3.OpOption) (bool, error)
PutIfOtherHasRevision(context.Context, PutIfOtherHasRevisionOpts) (bool, error)
DeleteBothIfOtherHasRevision(context.Context, DeleteBothIfOtherHasRevisionOpts) error
DeletePrefixes(context.Context, ...string) error
}
Click to show internal directories.
Click to hide internal directories.