diff options
author | Wim <wim@42.be> | 2017-08-16 23:37:37 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-08-16 23:37:37 +0200 |
commit | b963f83c6a09da1eaf02eb9f269c6f5881a0c711 (patch) | |
tree | 5ec37162046349d23c627e9ee26fb70c1a6c4f08 /vendor/github.com/mattermost/platform/einterfaces/jobs | |
parent | f6297ebbb09611165a50a6cd15abf6499268cf86 (diff) | |
download | matterbridge-msglm-b963f83c6a09da1eaf02eb9f269c6f5881a0c711.tar.gz matterbridge-msglm-b963f83c6a09da1eaf02eb9f269c6f5881a0c711.tar.bz2 matterbridge-msglm-b963f83c6a09da1eaf02eb9f269c6f5881a0c711.zip |
Update mattermost vendor (3.7 => 4.1)
Diffstat (limited to 'vendor/github.com/mattermost/platform/einterfaces/jobs')
-rw-r--r-- | vendor/github.com/mattermost/platform/einterfaces/jobs/data_retention.go | 23 | ||||
-rw-r--r-- | vendor/github.com/mattermost/platform/einterfaces/jobs/elasticsearch.go | 22 |
2 files changed, 45 insertions, 0 deletions
diff --git a/vendor/github.com/mattermost/platform/einterfaces/jobs/data_retention.go b/vendor/github.com/mattermost/platform/einterfaces/jobs/data_retention.go new file mode 100644 index 00000000..442f667f --- /dev/null +++ b/vendor/github.com/mattermost/platform/einterfaces/jobs/data_retention.go @@ -0,0 +1,23 @@ +// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. +// See License.txt for license information. + +package jobs + +import ( + "github.com/mattermost/platform/model" +) + +type DataRetentionInterface interface { + MakeWorker() model.Worker + MakeScheduler() model.Scheduler +} + +var theDataRetentionInterface DataRetentionInterface + +func RegisterDataRetentionInterface(newInterface DataRetentionInterface) { + theDataRetentionInterface = newInterface +} + +func GetDataRetentionInterface() DataRetentionInterface { + return theDataRetentionInterface +} diff --git a/vendor/github.com/mattermost/platform/einterfaces/jobs/elasticsearch.go b/vendor/github.com/mattermost/platform/einterfaces/jobs/elasticsearch.go new file mode 100644 index 00000000..6d6dbe89 --- /dev/null +++ b/vendor/github.com/mattermost/platform/einterfaces/jobs/elasticsearch.go @@ -0,0 +1,22 @@ +// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. +// See License.txt for license information. + +package jobs + +import ( + "github.com/mattermost/platform/model" +) + +type ElasticsearchIndexerInterface interface { + MakeWorker() model.Worker +} + +var theElasticsearchIndexerInterface ElasticsearchIndexerInterface + +func RegisterElasticsearchIndexerInterface(newInterface ElasticsearchIndexerInterface) { + theElasticsearchIndexerInterface = newInterface +} + +func GetElasticsearchIndexerInterface() ElasticsearchIndexerInterface { + return theElasticsearchIndexerInterface +} |