diff options
author | George Goldberg <george@gberg.me> | 2017-07-19 09:43:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-19 09:43:05 +0100 |
commit | fe368a74565e736ad1fb1dfc20ab364379d83ae9 (patch) | |
tree | 56186c11129a4aadc068a6387af39288cc9802b7 /einterfaces/elasticsearch.go | |
parent | 97f34e483b0fa8b2a8cfe75b72168cfa38cc9d80 (diff) | |
download | chat-fe368a74565e736ad1fb1dfc20ab364379d83ae9.tar.gz chat-fe368a74565e736ad1fb1dfc20ab364379d83ae9.tar.bz2 chat-fe368a74565e736ad1fb1dfc20ab364379d83ae9.zip |
PLT-6595: API to purge Elasticsearch indexes. (#6971)
Diffstat (limited to 'einterfaces/elasticsearch.go')
-rw-r--r-- | einterfaces/elasticsearch.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/einterfaces/elasticsearch.go b/einterfaces/elasticsearch.go index f5babffe0..b82482146 100644 --- a/einterfaces/elasticsearch.go +++ b/einterfaces/elasticsearch.go @@ -11,6 +11,7 @@ type ElasticsearchInterface interface { SearchPosts(channels *model.ChannelList, searchParams []*model.SearchParams) ([]string, *model.AppError) DeletePost(postId string) *model.AppError TestConfig(cfg *model.Config) *model.AppError + PurgeIndexes() *model.AppError } var theElasticsearchInterface ElasticsearchInterface |