[MM-35077] Add basic support for plugin intra-cluster communication (#17495)
* Add basic support for plugin intra-cluster communication * Some renaming for added clarity * Allow sending cluster event to specific nodes * Improve naming and documentation * Improve logging
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7dc1718c1d
Коммит
6af032d06a
@@ -2682,6 +2682,20 @@ func (_m *API) PluginHTTP(request *http.Request) *http.Response {
|
||||
return r0
|
||||
}
|
||||
|
||||
// PublishPluginClusterEvent provides a mock function with given fields: ev, opts
|
||||
func (_m *API) PublishPluginClusterEvent(ev model.PluginClusterEvent, opts model.PluginClusterEventSendOptions) error {
|
||||
ret := _m.Called(ev, opts)
|
||||
|
||||
var r0 error
|
||||
if rf, ok := ret.Get(0).(func(model.PluginClusterEvent, model.PluginClusterEventSendOptions) error); ok {
|
||||
r0 = rf(ev, opts)
|
||||
} else {
|
||||
r0 = ret.Error(0)
|
||||
}
|
||||
|
||||
return r0
|
||||
}
|
||||
|
||||
// PublishUserTyping provides a mock function with given fields: userID, channelId, parentId
|
||||
func (_m *API) PublishUserTyping(userID string, channelId string, parentId string) *model.AppError {
|
||||
ret := _m.Called(userID, channelId, parentId)
|
||||
|
||||
Ссылка в новой задаче
Block a user