Source code for mattermostdriver.endpoints.elasticsearch

from .base import Base


[docs]class Elasticsearch(Base): endpoint = '/elasticsearch'
[docs] def test_elasticsearch_configuration(self): return self.client.post( self.endpoint + '/test' )
[docs] def purge_all_elasticsearch_indexes(self): return self.client.post( self.endpoint + '/purge_indexes' )