MM-16543 Fix Elasticsearch only returning one page of results (#11528)

* MM-16543 Add mocking for einterfaces packages

* MM-16543 Fix Elasticsearch only returning one page of results

* Remove license checks for einterface mocks
Этот коммит содержится в:
Harrison Healey
2019-07-08 11:32:29 -04:00
коммит произвёл Christopher Speller
родитель c0b51b03de
Коммит 673ed02a0d
20 изменённых файлов: 1733 добавлений и 10 удалений

Просмотреть файл

@@ -347,6 +347,10 @@ plugin-mocks: ## Creates mock files for plugins.
$(GOPATH)/bin/mockery -dir plugin -name Hooks -output plugin/plugintest -outpkg plugintest -case underscore -note 'Regenerate this file using `make plugin-mocks`.'
$(GOPATH)/bin/mockery -dir plugin -name Helpers -output plugin/plugintest -outpkg plugintest -case underscore -note 'Regenerate this file using `make plugin-mocks`.'
einterfaces-mocks: ## Creates mock files for einterfaces.
env GO111MODULE=off go get -u github.com/vektra/mockery/...
$(GOPATH)/bin/mockery -dir einterfaces -all -output einterfaces/mocks -note 'Regenerate this file using `make einterfaces-mocks`.'
pluginapi: ## Generates api and hooks glue code for plugins
go generate ./plugin