consul: Adding KVSDeleteCAS operation type

This commit is contained in:
Armon Dadgar 2015-01-08 17:08:17 -08:00
parent 3b8043814f
commit 55330c95a6

View File

@ -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