summaryrefslogtreecommitdiffstats
path: root/einterfaces
diff options
context:
space:
mode:
Diffstat (limited to 'einterfaces')
-rw-r--r--einterfaces/elasticsearch.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/einterfaces/elasticsearch.go b/einterfaces/elasticsearch.go
index 8f3d7e76e..b81605b4f 100644
--- a/einterfaces/elasticsearch.go
+++ b/einterfaces/elasticsearch.go
@@ -3,7 +3,11 @@
package einterfaces
-import "github.com/mattermost/mattermost-server/model"
+import (
+ "time"
+
+ "github.com/mattermost/mattermost-server/model"
+)
type ElasticsearchInterface interface {
Start() *model.AppError
@@ -12,6 +16,7 @@ type ElasticsearchInterface interface {
DeletePost(post *model.Post) *model.AppError
TestConfig(cfg *model.Config) *model.AppError
PurgeIndexes() *model.AppError
+ DataRetentionDeleteIndexes(cutoff time.Time) *model.AppError
}
var theElasticsearchInterface ElasticsearchInterface