Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockSlackClient
- func (m *MockSlackClient) DeleteMessage(arg0, arg1 string) (string, string, error)
- func (m *MockSlackClient) EXPECT() *MockSlackClientMockRecorder
- func (m *MockSlackClient) GetChannelHistory(arg0 string, arg1 slack.HistoryParameters) (*slack.History, error)
- func (m *MockSlackClient) GetGroupHistory(arg0 string, arg1 slack.HistoryParameters) (*slack.History, error)
- func (m *MockSlackClient) GetIMHistory(arg0 string, arg1 slack.HistoryParameters) (*slack.History, error)
- func (m *MockSlackClient) SendMessage(arg0 string, arg1 ...slack.MsgOption) (string, string, string, error)
- type MockSlackClientMockRecorder
- func (mr *MockSlackClientMockRecorder) DeleteMessage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSlackClientMockRecorder) GetChannelHistory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSlackClientMockRecorder) GetGroupHistory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSlackClientMockRecorder) GetIMHistory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSlackClientMockRecorder) SendMessage(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSlackClient ¶
type MockSlackClient struct {
// contains filtered or unexported fields
}
MockSlackClient is a mock of SlackClient interface
func NewMockSlackClient ¶
func NewMockSlackClient(ctrl *gomock.Controller) *MockSlackClient
NewMockSlackClient creates a new mock instance
func (*MockSlackClient) DeleteMessage ¶
func (m *MockSlackClient) DeleteMessage(arg0, arg1 string) (string, string, error)
DeleteMessage mocks base method
func (*MockSlackClient) EXPECT ¶
func (m *MockSlackClient) EXPECT() *MockSlackClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSlackClient) GetChannelHistory ¶
func (m *MockSlackClient) GetChannelHistory(arg0 string, arg1 slack.HistoryParameters) (*slack.History, error)
GetChannelHistory mocks base method
func (*MockSlackClient) GetGroupHistory ¶
func (m *MockSlackClient) GetGroupHistory(arg0 string, arg1 slack.HistoryParameters) (*slack.History, error)
GetGroupHistory mocks base method
func (*MockSlackClient) GetIMHistory ¶
func (m *MockSlackClient) GetIMHistory(arg0 string, arg1 slack.HistoryParameters) (*slack.History, error)
GetIMHistory mocks base method
func (*MockSlackClient) SendMessage ¶
func (m *MockSlackClient) SendMessage(arg0 string, arg1 ...slack.MsgOption) (string, string, string, error)
SendMessage mocks base method
type MockSlackClientMockRecorder ¶
type MockSlackClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSlackClientMockRecorder is the mock recorder for MockSlackClient
func (*MockSlackClientMockRecorder) DeleteMessage ¶
func (mr *MockSlackClientMockRecorder) DeleteMessage(arg0, arg1 interface{}) *gomock.Call
DeleteMessage indicates an expected call of DeleteMessage
func (*MockSlackClientMockRecorder) GetChannelHistory ¶
func (mr *MockSlackClientMockRecorder) GetChannelHistory(arg0, arg1 interface{}) *gomock.Call
GetChannelHistory indicates an expected call of GetChannelHistory
func (*MockSlackClientMockRecorder) GetGroupHistory ¶
func (mr *MockSlackClientMockRecorder) GetGroupHistory(arg0, arg1 interface{}) *gomock.Call
GetGroupHistory indicates an expected call of GetGroupHistory
func (*MockSlackClientMockRecorder) GetIMHistory ¶
func (mr *MockSlackClientMockRecorder) GetIMHistory(arg0, arg1 interface{}) *gomock.Call
GetIMHistory indicates an expected call of GetIMHistory
func (*MockSlackClientMockRecorder) SendMessage ¶
func (mr *MockSlackClientMockRecorder) SendMessage(arg0 interface{}, arg1 ...interface{}) *gomock.Call
SendMessage indicates an expected call of SendMessage