From c36e85c9126b921cf00e578ac70c1f1ee0153abd Mon Sep 17 00:00:00 2001 From: Daniel Schalla Date: Wed, 10 Oct 2018 19:55:12 +0200 Subject: DeleteAll for KV (#9431) Expire K/V Values Regenerate Code pathfix Update Expiry on Update Check for Exit Signal gofmt Rewrote Go Routine Remove tempoarily cleanup loop fix expiretime TEST: Expired Watchdog as GoRoutine Check if Srv is nil Use Scheduler/Worker for Expired Key CleanUp add license fix scheduler job type; DoJob Restructuring Remove unused imports and constants move db migration from 5.4 to 5.5 --- store/store.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'store/store.go') diff --git a/store/store.go b/store/store.go index 29028130e..e21917345 100644 --- a/store/store.go +++ b/store/store.go @@ -502,6 +502,8 @@ type PluginStore interface { SaveOrUpdate(keyVal *model.PluginKeyValue) StoreChannel Get(pluginId, key string) StoreChannel Delete(pluginId, key string) StoreChannel + DeleteAllForPlugin(PluginId string) StoreChannel + DeleteAllExpired() StoreChannel List(pluginId string, page, perPage int) StoreChannel } -- cgit v1.2.3-1-g7c22