Documentation ¶
Overview ¶
Package mock_plugin_api is a generated GoMock package.
Index ¶
- type MockPluginAPI
- func (m *MockPluginAPI) EXPECT() *MockPluginAPIMockRecorder
- func (m *MockPluginAPI) GetMattermostUser(arg0 string) (*model.User, error)
- func (m *MockPluginAPI) GetMattermostUserByUsername(arg0 string) (*model.User, error)
- func (m *MockPluginAPI) GetMattermostUserStatus(arg0 string) (*model.Status, error)
- func (m *MockPluginAPI) GetMattermostUserStatusesByIds(arg0 []string) ([]*model.Status, error)
- func (m *MockPluginAPI) GetPost(arg0 string) (*model.Post, error)
- func (m *MockPluginAPI) IsSysAdmin(arg0 string) (bool, error)
- func (m *MockPluginAPI) UpdateMattermostUserStatus(arg0, arg1 string) (*model.Status, error)
- type MockPluginAPIMockRecorder
- func (mr *MockPluginAPIMockRecorder) GetMattermostUser(arg0 interface{}) *gomock.Call
- func (mr *MockPluginAPIMockRecorder) GetMattermostUserByUsername(arg0 interface{}) *gomock.Call
- func (mr *MockPluginAPIMockRecorder) GetMattermostUserStatus(arg0 interface{}) *gomock.Call
- func (mr *MockPluginAPIMockRecorder) GetMattermostUserStatusesByIds(arg0 interface{}) *gomock.Call
- func (mr *MockPluginAPIMockRecorder) GetPost(arg0 interface{}) *gomock.Call
- func (mr *MockPluginAPIMockRecorder) IsSysAdmin(arg0 interface{}) *gomock.Call
- func (mr *MockPluginAPIMockRecorder) UpdateMattermostUserStatus(arg0, arg1 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) 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) GetMattermostUserStatus ¶
func (m *MockPluginAPI) GetMattermostUserStatus(arg0 string) (*model.Status, error)
GetMattermostUserStatus mocks base method.
func (*MockPluginAPI) GetMattermostUserStatusesByIds ¶
func (m *MockPluginAPI) GetMattermostUserStatusesByIds(arg0 []string) ([]*model.Status, error)
GetMattermostUserStatusesByIds mocks base method.
func (*MockPluginAPI) GetPost ¶
func (m *MockPluginAPI) GetPost(arg0 string) (*model.Post, error)
GetPost mocks base method.
func (*MockPluginAPI) IsSysAdmin ¶
func (m *MockPluginAPI) IsSysAdmin(arg0 string) (bool, error)
IsSysAdmin mocks base method.
func (*MockPluginAPI) UpdateMattermostUserStatus ¶
func (m *MockPluginAPI) UpdateMattermostUserStatus(arg0, arg1 string) (*model.Status, error)
UpdateMattermostUserStatus mocks base method.
type MockPluginAPIMockRecorder ¶
type MockPluginAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginAPIMockRecorder is the mock recorder for MockPluginAPI.
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) GetMattermostUserStatus ¶
func (mr *MockPluginAPIMockRecorder) GetMattermostUserStatus(arg0 interface{}) *gomock.Call
GetMattermostUserStatus indicates an expected call of GetMattermostUserStatus.
func (*MockPluginAPIMockRecorder) GetMattermostUserStatusesByIds ¶
func (mr *MockPluginAPIMockRecorder) GetMattermostUserStatusesByIds(arg0 interface{}) *gomock.Call
GetMattermostUserStatusesByIds indicates an expected call of GetMattermostUserStatusesByIds.
func (*MockPluginAPIMockRecorder) GetPost ¶
func (mr *MockPluginAPIMockRecorder) GetPost(arg0 interface{}) *gomock.Call
GetPost indicates an expected call of GetPost.
func (*MockPluginAPIMockRecorder) IsSysAdmin ¶
func (mr *MockPluginAPIMockRecorder) IsSysAdmin(arg0 interface{}) *gomock.Call
IsSysAdmin indicates an expected call of IsSysAdmin.
func (*MockPluginAPIMockRecorder) UpdateMattermostUserStatus ¶
func (mr *MockPluginAPIMockRecorder) UpdateMattermostUserStatus(arg0, arg1 interface{}) *gomock.Call
UpdateMattermostUserStatus indicates an expected call of UpdateMattermostUserStatus.