Documentation ¶
Overview ¶
Package mock_sl is a generated GoMock package.
Index ¶
- type MockPluginAPI
- func (m *MockPluginAPI) Clean() error
- func (m *MockPluginAPI) EXPECT() *MockPluginAPIMockRecorder
- func (m *MockPluginAPI) GetBotUserID() string
- func (m *MockPluginAPI) GetMattermostUser(arg0 string) (*model.User, error)
- func (m *MockPluginAPI) GetMattermostUserByUsername(arg0 string) (*model.User, error)
- func (m *MockPluginAPI) IsPluginAdmin(arg0 string) (bool, error)
- type MockPluginAPIMockRecorder
- func (mr *MockPluginAPIMockRecorder) Clean() *gomock.Call
- func (mr *MockPluginAPIMockRecorder) GetBotUserID() *gomock.Call
- func (mr *MockPluginAPIMockRecorder) GetMattermostUser(arg0 interface{}) *gomock.Call
- func (mr *MockPluginAPIMockRecorder) GetMattermostUserByUsername(arg0 interface{}) *gomock.Call
- func (mr *MockPluginAPIMockRecorder) IsPluginAdmin(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPluginAPI ¶
type MockPluginAPI struct {
// contains filtered or unexported fields
}
MockPluginAPI is a mock of PluginAPI interface
func NewMockPluginAPI ¶
func NewMockPluginAPI(ctrl *gomock.Controller) *MockPluginAPI
NewMockPluginAPI creates a new mock instance
func (*MockPluginAPI) EXPECT ¶
func (m *MockPluginAPI) EXPECT() *MockPluginAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPluginAPI) GetBotUserID ¶
func (m *MockPluginAPI) GetBotUserID() string
GetBotUserID mocks base method
func (*MockPluginAPI) GetMattermostUser ¶
func (m *MockPluginAPI) GetMattermostUser(arg0 string) (*model.User, error)
GetMattermostUser mocks base method
func (*MockPluginAPI) GetMattermostUserByUsername ¶
func (m *MockPluginAPI) GetMattermostUserByUsername(arg0 string) (*model.User, error)
GetMattermostUserByUsername mocks base method
func (*MockPluginAPI) IsPluginAdmin ¶
func (m *MockPluginAPI) IsPluginAdmin(arg0 string) (bool, error)
IsPluginAdmin mocks base method
type MockPluginAPIMockRecorder ¶
type MockPluginAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginAPIMockRecorder is the mock recorder for MockPluginAPI
func (*MockPluginAPIMockRecorder) Clean ¶
func (mr *MockPluginAPIMockRecorder) Clean() *gomock.Call
Clean indicates an expected call of Clean
func (*MockPluginAPIMockRecorder) GetBotUserID ¶
func (mr *MockPluginAPIMockRecorder) GetBotUserID() *gomock.Call
GetBotUserID indicates an expected call of GetBotUserID
func (*MockPluginAPIMockRecorder) GetMattermostUser ¶
func (mr *MockPluginAPIMockRecorder) GetMattermostUser(arg0 interface{}) *gomock.Call
GetMattermostUser indicates an expected call of GetMattermostUser
func (*MockPluginAPIMockRecorder) GetMattermostUserByUsername ¶
func (mr *MockPluginAPIMockRecorder) GetMattermostUserByUsername(arg0 interface{}) *gomock.Call
GetMattermostUserByUsername indicates an expected call of GetMattermostUserByUsername
func (*MockPluginAPIMockRecorder) IsPluginAdmin ¶
func (mr *MockPluginAPIMockRecorder) IsPluginAdmin(arg0 interface{}) *gomock.Call
IsPluginAdmin indicates an expected call of IsPluginAdmin