[MM-26997] Use socket API to deploy plugins, if available (#108)

* Use socket API if available

* Make socket path configurable by env var

* Add local mode docs to README

* Change README wordings

* Add log when using local mode. Change error handling for local mode deploy.

* address requests in pluginctl and update mattermost-server

* check if MM_LOCALSOCKETPATH is present before logging

* update go.sum
This commit is contained in:
Michael Kochell 2020-07-29 05:21:46 -04:00 committed by GitHub
parent 2d65fe1e26
commit 4523a0a25e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 510 additions and 103 deletions

4
go.mod
View file

@ -3,7 +3,7 @@ module github.com/mattermost/mattermost-plugin-starter-template
go 1.12
require (
github.com/mattermost/mattermost-server/v5 v5.20.0
github.com/mattermost/mattermost-server/v5 v5.3.2-0.20200723144633-ed34468996e6
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.5.1
github.com/stretchr/testify v1.6.1
)