mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 14:24:39 +00:00
consul: Adding KVSDeleteCAS operation type
This commit is contained in:
parent
3b8043814f
commit
55330c95a6
@ -330,6 +330,7 @@ type KVSOp string
|
|||||||
const (
|
const (
|
||||||
KVSSet KVSOp = "set"
|
KVSSet KVSOp = "set"
|
||||||
KVSDelete = "delete"
|
KVSDelete = "delete"
|
||||||
|
KVSDeleteCAS = "delete-cas" // Delete with check-and-set
|
||||||
KVSDeleteTree = "delete-tree"
|
KVSDeleteTree = "delete-tree"
|
||||||
KVSCAS = "cas" // Check-and-set
|
KVSCAS = "cas" // Check-and-set
|
||||||
KVSLock = "lock" // Lock a key
|
KVSLock = "lock" // Lock a key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user