mock_plugin_api

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_plugin_api is a generated GoMock package.

Index

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

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 added in v1.2.0

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 added in v1.2.0

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.

Jump to

Keyboard shortcuts

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