diff options
author | Bin Yang <bin.yang@windriver.com> | 2019-03-29 05:17:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-29 05:17:07 +0000 |
commit | b930ac1c8b810662545fb7fdd776a9698e9825b1 (patch) | |
tree | 948993fffeaaa1f21cfb030b1370ce5f8e81af6b /src/k8splugin/internal/db/store.go | |
parent | b2b175eae0f4e8b5b0cb9ccbeeca1e98065feeb5 (diff) | |
parent | b6288d59577dd40d6d19841bf030c45f9ec8aa50 (diff) |
Merge "Add update method to db interface"
Diffstat (limited to 'src/k8splugin/internal/db/store.go')
-rw-r--r-- | src/k8splugin/internal/db/store.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/k8splugin/internal/db/store.go b/src/k8splugin/internal/db/store.go index 148e078e..0b869c0c 100644 --- a/src/k8splugin/internal/db/store.go +++ b/src/k8splugin/internal/db/store.go @@ -45,7 +45,8 @@ type Store interface { // Reads data for a particular key with specific tag. Read(table string, key Key, tag string) ([]byte, error) - //TODO: Update(context.Context, string, interface{}) error + // Update data for particular key with specific tag + Update(table string, key Key, tag string, data interface{}) error // Deletes a specific tag data for key. // TODO: If tag is empty, it will delete all tags under key. |