diff options
author | George Goldberg <george@gberg.me> | 2017-07-20 16:25:35 +0100 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-07-20 08:25:35 -0700 |
commit | 6c6f2a1138447777bbf46cc2c40e1b3c47204466 (patch) | |
tree | c2630ad79a7bc12d6c0c0233098e29d6811cb99b /store/store.go | |
parent | 5ae701d133f713363e52b9cc6aa01579c81ebab4 (diff) | |
download | chat-6c6f2a1138447777bbf46cc2c40e1b3c47204466.tar.gz chat-6c6f2a1138447777bbf46cc2c40e1b3c47204466.tar.bz2 chat-6c6f2a1138447777bbf46cc2c40e1b3c47204466.zip |
PLT-6595-Server: Job Management APIs. (#6931)
* PLT-6595-Server: Job Management APIs.
* MANAGE_JOBS Permission
* Fix test.
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index 062ed0fbd..ab3d97d9b 100644 --- a/store/store.go +++ b/store/store.go @@ -391,6 +391,7 @@ type JobStore interface { UpdateStatus(id string, status string) StoreChannel UpdateStatusOptimistically(id string, currentStatus string, newStatus string) StoreChannel Get(id string) StoreChannel + GetAllPage(offset int, limit int) StoreChannel GetAllByType(jobType string) StoreChannel GetAllByTypePage(jobType string, offset int, limit int) StoreChannel GetAllByStatus(status string) StoreChannel |