aboutsummaryrefslogtreecommitdiffstats
path: root/src/orchestrator/pkg/infra/contextdb/contextdb.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/orchestrator/pkg/infra/contextdb/contextdb.go')
-rw-r--r--src/orchestrator/pkg/infra/contextdb/contextdb.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/orchestrator/pkg/infra/contextdb/contextdb.go b/src/orchestrator/pkg/infra/contextdb/contextdb.go
index d18af227..58832a19 100644
--- a/src/orchestrator/pkg/infra/contextdb/contextdb.go
+++ b/src/orchestrator/pkg/infra/contextdb/contextdb.go
@@ -29,6 +29,8 @@ type ContextDb interface {
Put(key string, value interface{}) error
// Delete k,v
Delete(key string) error
+ // Delete all keys in heirarchy
+ DeleteAll(key string) error
// Gets Json Struct from db
Get(key string, value interface{}) error
// Returns all keys with a prefix