summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server/einterfaces/jobs')
-rw-r--r--vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/data_retention.go13
-rw-r--r--vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/elasticsearch.go17
-rw-r--r--vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/ldap_sync.go13
-rw-r--r--vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/message_export.go13
4 files changed, 56 insertions, 0 deletions
diff --git a/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/data_retention.go b/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/data_retention.go
new file mode 100644
index 00000000..73f78e4f
--- /dev/null
+++ b/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/data_retention.go
@@ -0,0 +1,13 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package jobs
+
+import (
+ "github.com/mattermost/mattermost-server/model"
+)
+
+type DataRetentionJobInterface interface {
+ MakeWorker() model.Worker
+ MakeScheduler() model.Scheduler
+}
diff --git a/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/elasticsearch.go b/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/elasticsearch.go
new file mode 100644
index 00000000..16e0d769
--- /dev/null
+++ b/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/elasticsearch.go
@@ -0,0 +1,17 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package jobs
+
+import (
+ "github.com/mattermost/mattermost-server/model"
+)
+
+type ElasticsearchIndexerInterface interface {
+ MakeWorker() model.Worker
+}
+
+type ElasticsearchAggregatorInterface interface {
+ MakeWorker() model.Worker
+ MakeScheduler() model.Scheduler
+}
diff --git a/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/ldap_sync.go b/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/ldap_sync.go
new file mode 100644
index 00000000..5565afe4
--- /dev/null
+++ b/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/ldap_sync.go
@@ -0,0 +1,13 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package jobs
+
+import (
+ "github.com/mattermost/mattermost-server/model"
+)
+
+type LdapSyncInterface interface {
+ MakeWorker() model.Worker
+ MakeScheduler() model.Scheduler
+}
diff --git a/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/message_export.go b/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/message_export.go
new file mode 100644
index 00000000..74b0df75
--- /dev/null
+++ b/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/message_export.go
@@ -0,0 +1,13 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package jobs
+
+import (
+ "github.com/mattermost/mattermost-server/model"
+)
+
+type MessageExportJobInterface interface {
+ MakeWorker() model.Worker
+ MakeScheduler() model.Scheduler
+}