mock_mmclient

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_mmclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) CreateBot

func (m *MockClient) CreateBot(arg0 *model.Bot) error

CreateBot mocks base method.

func (*MockClient) CreateOAuthApp

func (m *MockClient) CreateOAuthApp(arg0 *model.OAuthApp) error

CreateOAuthApp mocks base method.

func (*MockClient) CreateUserAccessToken

func (m *MockClient) CreateUserAccessToken(arg0, arg1 string) (*model.UserAccessToken, error)

CreateUserAccessToken mocks base method.

func (*MockClient) DeleteOAuthApp

func (m *MockClient) DeleteOAuthApp(arg0 string) error

DeleteOAuthApp mocks base method.

func (*MockClient) DisableBot

func (m *MockClient) DisableBot(arg0 string) (*model.Bot, error)

DisableBot mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) EnableBot

func (m *MockClient) EnableBot(arg0 string) (*model.Bot, error)

EnableBot mocks base method.

func (*MockClient) GetBot

func (m *MockClient) GetBot(arg0 string) (*model.Bot, error)

GetBot mocks base method.

func (*MockClient) GetChannel

func (m *MockClient) GetChannel(arg0 string) (*model.Channel, error)

GetChannel mocks base method.

func (*MockClient) GetChannelMember

func (m *MockClient) GetChannelMember(arg0, arg1 string) (*model.ChannelMember, error)

GetChannelMember mocks base method.

func (*MockClient) GetOAuthApp

func (m *MockClient) GetOAuthApp(arg0 string) (*model.OAuthApp, error)

GetOAuthApp mocks base method.

func (*MockClient) GetPost

func (m *MockClient) GetPost(arg0 string) (*model.Post, error)

GetPost mocks base method.

func (*MockClient) GetTeam

func (m *MockClient) GetTeam(arg0 string) (*model.Team, error)

GetTeam mocks base method.

func (*MockClient) GetTeamMember

func (m *MockClient) GetTeamMember(arg0, arg1 string) (*model.TeamMember, error)

GetTeamMember mocks base method.

func (*MockClient) GetUser

func (m *MockClient) GetUser(arg0 string) (*model.User, error)

GetUser mocks base method.

func (*MockClient) GetUserByUsername

func (m *MockClient) GetUserByUsername(arg0 string) (*model.User, error)

GetUserByUsername mocks base method.

func (*MockClient) RevokeUserAccessToken

func (m *MockClient) RevokeUserAccessToken(arg0 string) error

RevokeUserAccessToken mocks base method.

func (*MockClient) SetProfileImage

func (m *MockClient) SetProfileImage(arg0 string, arg1 io.Reader) error

SetProfileImage mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateBot

func (mr *MockClientMockRecorder) CreateBot(arg0 interface{}) *gomock.Call

CreateBot indicates an expected call of CreateBot.

func (*MockClientMockRecorder) CreateOAuthApp

func (mr *MockClientMockRecorder) CreateOAuthApp(arg0 interface{}) *gomock.Call

CreateOAuthApp indicates an expected call of CreateOAuthApp.

func (*MockClientMockRecorder) CreateUserAccessToken

func (mr *MockClientMockRecorder) CreateUserAccessToken(arg0, arg1 interface{}) *gomock.Call

CreateUserAccessToken indicates an expected call of CreateUserAccessToken.

func (*MockClientMockRecorder) DeleteOAuthApp

func (mr *MockClientMockRecorder) DeleteOAuthApp(arg0 interface{}) *gomock.Call

DeleteOAuthApp indicates an expected call of DeleteOAuthApp.

func (*MockClientMockRecorder) DisableBot

func (mr *MockClientMockRecorder) DisableBot(arg0 interface{}) *gomock.Call

DisableBot indicates an expected call of DisableBot.

func (*MockClientMockRecorder) EnableBot

func (mr *MockClientMockRecorder) EnableBot(arg0 interface{}) *gomock.Call

EnableBot indicates an expected call of EnableBot.

func (*MockClientMockRecorder) GetBot

func (mr *MockClientMockRecorder) GetBot(arg0 interface{}) *gomock.Call

GetBot indicates an expected call of GetBot.

func (*MockClientMockRecorder) GetChannel

func (mr *MockClientMockRecorder) GetChannel(arg0 interface{}) *gomock.Call

GetChannel indicates an expected call of GetChannel.

func (*MockClientMockRecorder) GetChannelMember

func (mr *MockClientMockRecorder) GetChannelMember(arg0, arg1 interface{}) *gomock.Call

GetChannelMember indicates an expected call of GetChannelMember.

func (*MockClientMockRecorder) GetOAuthApp

func (mr *MockClientMockRecorder) GetOAuthApp(arg0 interface{}) *gomock.Call

GetOAuthApp indicates an expected call of GetOAuthApp.

func (*MockClientMockRecorder) GetPost

func (mr *MockClientMockRecorder) GetPost(arg0 interface{}) *gomock.Call

GetPost indicates an expected call of GetPost.

func (*MockClientMockRecorder) GetTeam

func (mr *MockClientMockRecorder) GetTeam(arg0 interface{}) *gomock.Call

GetTeam indicates an expected call of GetTeam.

func (*MockClientMockRecorder) GetTeamMember

func (mr *MockClientMockRecorder) GetTeamMember(arg0, arg1 interface{}) *gomock.Call

GetTeamMember indicates an expected call of GetTeamMember.

func (*MockClientMockRecorder) GetUser

func (mr *MockClientMockRecorder) GetUser(arg0 interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockClientMockRecorder) GetUserByUsername

func (mr *MockClientMockRecorder) GetUserByUsername(arg0 interface{}) *gomock.Call

GetUserByUsername indicates an expected call of GetUserByUsername.

func (*MockClientMockRecorder) RevokeUserAccessToken

func (mr *MockClientMockRecorder) RevokeUserAccessToken(arg0 interface{}) *gomock.Call

RevokeUserAccessToken indicates an expected call of RevokeUserAccessToken.

func (*MockClientMockRecorder) SetProfileImage

func (mr *MockClientMockRecorder) SetProfileImage(arg0, arg1 interface{}) *gomock.Call

SetProfileImage indicates an expected call of SetProfileImage.

Jump to

Keyboard shortcuts

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