summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/platform/einterfaces/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mattermost/platform/einterfaces/jobs')
-rw-r--r--vendor/github.com/mattermost/platform/einterfaces/jobs/data_retention.go23
-rw-r--r--vendor/github.com/mattermost/platform/einterfaces/jobs/elasticsearch.go22
2 files changed, 0 insertions, 45 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
deleted file mode 100644
index 442f667f..00000000
--- a/vendor/github.com/mattermost/platform/einterfaces/jobs/data_retention.go
+++ /dev/null
@@ -1,23 +0,0 @@
-// 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
deleted file mode 100644
index 6d6dbe89..00000000
--- a/vendor/github.com/mattermost/platform/einterfaces/jobs/elasticsearch.go
+++ /dev/null
@@ -1,22 +0,0 @@
-// 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
-}