mocks

package
v0.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks 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) AddReaction

func (m *MockClient) AddReaction(arg0 string, arg1 *slack.Message) error

AddReaction mocks base method

func (*MockClient) BotID

func (m *MockClient) BotID() string

BotID mocks base method

func (*MockClient) BotName

func (m *MockClient) BotName() string

BotName mocks base method

func (*MockClient) ConversationID

func (m *MockClient) ConversationID(arg0 string) string

ConversationID mocks base method

func (*MockClient) ConversationName

func (m *MockClient) ConversationName(arg0 string) string

ConversationName 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) Listen

func (m *MockClient) Listen(arg0 chan<- *slack.Message, arg1 chan<- *slack.Reaction)

Listen mocks base method

func (*MockClient) ParseTimestamp

func (m *MockClient) ParseTimestamp(arg0 string) (time.Time, error)

ParseTimestamp mocks base method

func (*MockClient) SendMessage

func (m *MockClient) SendMessage(arg0, arg1 string)

SendMessage mocks base method

func (*MockClient) TeamID

func (m *MockClient) TeamID() string

TeamID mocks base method

func (*MockClient) TeamName

func (m *MockClient) TeamName() string

TeamName mocks base method

func (*MockClient) UserID

func (m *MockClient) UserID(arg0 string) string

UserID mocks base method

func (*MockClient) UserName

func (m *MockClient) UserName(arg0 string) string

UserName mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) AddReaction

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

AddReaction indicates an expected call of AddReaction

func (*MockClientMockRecorder) BotID

func (mr *MockClientMockRecorder) BotID() *gomock.Call

BotID indicates an expected call of BotID

func (*MockClientMockRecorder) BotName

func (mr *MockClientMockRecorder) BotName() *gomock.Call

BotName indicates an expected call of BotName

func (*MockClientMockRecorder) ConversationID

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

ConversationID indicates an expected call of ConversationID

func (*MockClientMockRecorder) ConversationName

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

ConversationName indicates an expected call of ConversationName

func (*MockClientMockRecorder) Listen

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

Listen indicates an expected call of Listen

func (*MockClientMockRecorder) ParseTimestamp

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

ParseTimestamp indicates an expected call of ParseTimestamp

func (*MockClientMockRecorder) SendMessage

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

SendMessage indicates an expected call of SendMessage

func (*MockClientMockRecorder) TeamID

func (mr *MockClientMockRecorder) TeamID() *gomock.Call

TeamID indicates an expected call of TeamID

func (*MockClientMockRecorder) TeamName

func (mr *MockClientMockRecorder) TeamName() *gomock.Call

TeamName indicates an expected call of TeamName

func (*MockClientMockRecorder) UserID

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

UserID indicates an expected call of UserID

func (*MockClientMockRecorder) UserName

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

UserName indicates an expected call of UserName

Jump to

Keyboard shortcuts

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