mock

package
v0.0.0-...-d1f9358 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPlugin

type MockPlugin struct {
	// contains filtered or unexported fields
}

MockPlugin is a mock of Plugin interface

func NewMockPlugin

func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin

NewMockPlugin creates a new mock instance

func (*MockPlugin) EXPECT

func (m *MockPlugin) EXPECT() *MockPluginMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPlugin) GetActivePlugins

func (m *MockPlugin) GetActivePlugins() ([]anonymous.PluginIdentifier, error)

GetActivePlugins mocks base method

func (*MockPlugin) GetConfiguration

func (m *MockPlugin) GetConfiguration() *config.Config

GetConfiguration mocks base method

func (*MockPlugin) GetUsersInChannel

func (m *MockPlugin) GetUsersInChannel(arg0, arg1 string, arg2, arg3 int) ([]*model.User, error)

GetUsersInChannel mocks base method

func (*MockPlugin) KVDelete

func (m *MockPlugin) KVDelete(arg0 string) *model.AppError

KVDelete mocks base method

func (*MockPlugin) KVGet

func (m *MockPlugin) KVGet(arg0 string) ([]byte, *model.AppError)

KVGet mocks base method

func (*MockPlugin) KVSet

func (m *MockPlugin) KVSet(arg0 string, arg1 []byte) *model.AppError

KVSet mocks base method

func (*MockPlugin) OnActivate

func (m *MockPlugin) OnActivate() error

OnActivate mocks base method

func (*MockPlugin) OnConfigurationChange

func (m *MockPlugin) OnConfigurationChange() error

OnConfigurationChange mocks base method

func (*MockPlugin) PublishWebSocketEvent

func (m *MockPlugin) PublishWebSocketEvent(arg0 string, arg1 map[string]interface{}, arg2 *model.WebsocketBroadcast)

PublishWebSocketEvent mocks base method

func (*MockPlugin) SendEphemeralPost

func (m *MockPlugin) SendEphemeralPost(arg0 string, arg1 *model.Post) *model.Post

SendEphemeralPost mocks base method

func (*MockPlugin) ServeHTTP

func (m *MockPlugin) ServeHTTP(arg0 *plugin.Context, arg1 http.ResponseWriter, arg2 *http.Request)

ServeHTTP mocks base method

type MockPluginMockRecorder

type MockPluginMockRecorder struct {
	// contains filtered or unexported fields
}

MockPluginMockRecorder is the mock recorder for MockPlugin

func (*MockPluginMockRecorder) GetActivePlugins

func (mr *MockPluginMockRecorder) GetActivePlugins() *gomock.Call

GetActivePlugins indicates an expected call of GetActivePlugins

func (*MockPluginMockRecorder) GetConfiguration

func (mr *MockPluginMockRecorder) GetConfiguration() *gomock.Call

GetConfiguration indicates an expected call of GetConfiguration

func (*MockPluginMockRecorder) GetUsersInChannel

func (mr *MockPluginMockRecorder) GetUsersInChannel(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetUsersInChannel indicates an expected call of GetUsersInChannel

func (*MockPluginMockRecorder) KVDelete

func (mr *MockPluginMockRecorder) KVDelete(arg0 interface{}) *gomock.Call

KVDelete indicates an expected call of KVDelete

func (*MockPluginMockRecorder) KVGet

func (mr *MockPluginMockRecorder) KVGet(arg0 interface{}) *gomock.Call

KVGet indicates an expected call of KVGet

func (*MockPluginMockRecorder) KVSet

func (mr *MockPluginMockRecorder) KVSet(arg0, arg1 interface{}) *gomock.Call

KVSet indicates an expected call of KVSet

func (*MockPluginMockRecorder) OnActivate

func (mr *MockPluginMockRecorder) OnActivate() *gomock.Call

OnActivate indicates an expected call of OnActivate

func (*MockPluginMockRecorder) OnConfigurationChange

func (mr *MockPluginMockRecorder) OnConfigurationChange() *gomock.Call

OnConfigurationChange indicates an expected call of OnConfigurationChange

func (*MockPluginMockRecorder) PublishWebSocketEvent

func (mr *MockPluginMockRecorder) PublishWebSocketEvent(arg0, arg1, arg2 interface{}) *gomock.Call

PublishWebSocketEvent indicates an expected call of PublishWebSocketEvent

func (*MockPluginMockRecorder) SendEphemeralPost

func (mr *MockPluginMockRecorder) SendEphemeralPost(arg0, arg1 interface{}) *gomock.Call

SendEphemeralPost indicates an expected call of SendEphemeralPost

func (*MockPluginMockRecorder) ServeHTTP

func (mr *MockPluginMockRecorder) ServeHTTP(arg0, arg1, arg2 interface{}) *gomock.Call

ServeHTTP indicates an expected call of ServeHTTP

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL