consul: Adding KVSDeleteTree operation

This commit is contained in:
Armon Dadgar 2014-03-31 12:13:40 -07:00
parent d804a08744
commit 48ffdc05f4
1 changed files with 6 additions and 5 deletions

View File

@ -186,11 +186,12 @@ type DirEntries []*DirEntry
type KVSOp string
const (
KVSSet KVSOp = "set"
KVSGet = "get" // Key must match
KVSList = "list" // Key is only a prefix
KVSDelete = "delete"
KVSCAS = "cas" // Check-and-set
KVSSet KVSOp = "set"
KVSGet = "get" // Key must match
KVSList = "list" // Key is only a prefix
KVSDelete = "delete"
KVSDeleteTree = "delete-tree"
KVSCAS = "cas" // Check-and-set
)
// KVSRequest is used to operate on the Key-Value store