PLT-7407: Back-end plugin mechanism (#7177)

* begin backend plugin wip

* flesh out rpcplugin. everything done except for minor supervisor stubs

* done with basic plugin infrastructure

* simplify tests

* remove unused test lines
This commit is contained in:
Chris
2017-08-16 17:23:38 -05:00
committed by GitHub
parent 4f85ed985d
commit f80d50adbd
33 changed files with 2163 additions and 1 deletions

17
plugin/plugintest/api.go Normal file
View File

@@ -0,0 +1,17 @@
package plugintest
import (
"github.com/stretchr/testify/mock"
"github.com/mattermost/platform/plugin"
)
type API struct {
mock.Mock
}
var _ plugin.API = (*API)(nil)
func (m *API) LoadPluginConfiguration(dest interface{}) error {
return m.Called(dest).Error(0)
}