Documentation ¶
Overview ¶
Package mock_bot is a generated GoMock package.
Package mock_bot is a generated GoMock package.
Package mock_bot is a generated GoMock package.
Package mock_bot is a generated GoMock package.
Index ¶
- type MockAdmin
- type MockAdminMockRecorder
- type MockBot
- type MockBotMockRecorder
- type MockLogger
- func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Timed() logger.Logger
- func (m *MockLogger) Warnf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) With(arg0 logger.LogContext) logger.Logger
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Timed() *gomock.Call
- func (mr *MockLoggerMockRecorder) Warnf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) With(arg0 interface{}) *gomock.Call
- type MockPoster
- func (m *MockPoster) DM(arg0, arg1 string, arg2 ...interface{}) (string, error)
- func (m *MockPoster) DMUpdate(arg0, arg1 string, arg2 ...interface{}) error
- func (m *MockPoster) DMWithAttachments(arg0 string, arg1 ...*model.SlackAttachment) (string, error)
- func (m *MockPoster) DeletePost(arg0 string) error
- func (m *MockPoster) EXPECT() *MockPosterMockRecorder
- func (m *MockPoster) Ephemeral(arg0, arg1, arg2 string, arg3 ...interface{})
- func (m *MockPoster) UpdatePost(arg0 *model.Post) error
- type MockPosterMockRecorder
- func (mr *MockPosterMockRecorder) DM(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockPosterMockRecorder) DMUpdate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockPosterMockRecorder) DMWithAttachments(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockPosterMockRecorder) DeletePost(arg0 interface{}) *gomock.Call
- func (mr *MockPosterMockRecorder) Ephemeral(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockPosterMockRecorder) UpdatePost(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdmin ¶
type MockAdmin struct {
// contains filtered or unexported fields
}
MockAdmin is a mock of Admin interface
func NewMockAdmin ¶
func NewMockAdmin(ctrl *gomock.Controller) *MockAdmin
NewMockAdmin creates a new mock instance
func (*MockAdmin) EXPECT ¶
func (m *MockAdmin) EXPECT() *MockAdminMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAdmin) IsUserAdmin ¶
IsUserAdmin mocks base method
type MockAdminMockRecorder ¶
type MockAdminMockRecorder struct {
// contains filtered or unexported fields
}
MockAdminMockRecorder is the mock recorder for MockAdmin
func (*MockAdminMockRecorder) DMAdmins ¶
func (mr *MockAdminMockRecorder) DMAdmins(arg0 interface{}, arg1 ...interface{}) *gomock.Call
DMAdmins indicates an expected call of DMAdmins
func (*MockAdminMockRecorder) IsUserAdmin ¶
func (mr *MockAdminMockRecorder) IsUserAdmin(arg0 interface{}) *gomock.Call
IsUserAdmin indicates an expected call of IsUserAdmin
type MockBot ¶
type MockBot struct {
// contains filtered or unexported fields
}
MockBot is a mock of Bot interface
func NewMockBot ¶
func NewMockBot(ctrl *gomock.Controller) *MockBot
NewMockBot creates a new mock instance
func (*MockBot) EXPECT ¶
func (m *MockBot) EXPECT() *MockBotMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBot) MattermostUserID ¶
MattermostUserID mocks base method
type MockBotMockRecorder ¶
type MockBotMockRecorder struct {
// contains filtered or unexported fields
}
MockBotMockRecorder is the mock recorder for MockBot
func (*MockBotMockRecorder) Ensure ¶
func (mr *MockBotMockRecorder) Ensure(arg0, arg1 interface{}) *gomock.Call
Ensure indicates an expected call of Ensure
func (*MockBotMockRecorder) MattermostUserID ¶
func (mr *MockBotMockRecorder) MattermostUserID() *gomock.Call
MattermostUserID indicates an expected call of MattermostUserID
func (*MockBotMockRecorder) String ¶
func (mr *MockBotMockRecorder) String() *gomock.Call
String indicates an expected call of String
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance
func (*MockLogger) Debugf ¶
func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})
Debugf mocks base method
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLogger) Errorf ¶
func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})
Errorf mocks base method
func (*MockLogger) Infof ¶
func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})
Infof mocks base method
func (*MockLogger) Warnf ¶
func (m *MockLogger) Warnf(arg0 string, arg1 ...interface{})
Warnf mocks base method
func (*MockLogger) With ¶
func (m *MockLogger) With(arg0 logger.LogContext) logger.Logger
With mocks base method
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger
func (*MockLoggerMockRecorder) Debugf ¶
func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debugf indicates an expected call of Debugf
func (*MockLoggerMockRecorder) Errorf ¶
func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Errorf indicates an expected call of Errorf
func (*MockLoggerMockRecorder) Infof ¶
func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Infof indicates an expected call of Infof
func (*MockLoggerMockRecorder) Timed ¶
func (mr *MockLoggerMockRecorder) Timed() *gomock.Call
Timed indicates an expected call of Timed
func (*MockLoggerMockRecorder) Warnf ¶
func (mr *MockLoggerMockRecorder) Warnf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warnf indicates an expected call of Warnf
func (*MockLoggerMockRecorder) With ¶
func (mr *MockLoggerMockRecorder) With(arg0 interface{}) *gomock.Call
With indicates an expected call of With
type MockPoster ¶
type MockPoster struct {
// contains filtered or unexported fields
}
MockPoster is a mock of Poster interface
func NewMockPoster ¶
func NewMockPoster(ctrl *gomock.Controller) *MockPoster
NewMockPoster creates a new mock instance
func (*MockPoster) DM ¶
func (m *MockPoster) DM(arg0, arg1 string, arg2 ...interface{}) (string, error)
DM mocks base method
func (*MockPoster) DMUpdate ¶
func (m *MockPoster) DMUpdate(arg0, arg1 string, arg2 ...interface{}) error
DMUpdate mocks base method
func (*MockPoster) DMWithAttachments ¶
func (m *MockPoster) DMWithAttachments(arg0 string, arg1 ...*model.SlackAttachment) (string, error)
DMWithAttachments mocks base method
func (*MockPoster) DeletePost ¶
func (m *MockPoster) DeletePost(arg0 string) error
DeletePost mocks base method
func (*MockPoster) EXPECT ¶
func (m *MockPoster) EXPECT() *MockPosterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPoster) Ephemeral ¶
func (m *MockPoster) Ephemeral(arg0, arg1, arg2 string, arg3 ...interface{})
Ephemeral mocks base method
func (*MockPoster) UpdatePost ¶
func (m *MockPoster) UpdatePost(arg0 *model.Post) error
UpdatePost mocks base method
type MockPosterMockRecorder ¶
type MockPosterMockRecorder struct {
// contains filtered or unexported fields
}
MockPosterMockRecorder is the mock recorder for MockPoster
func (*MockPosterMockRecorder) DM ¶
func (mr *MockPosterMockRecorder) DM(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DM indicates an expected call of DM
func (*MockPosterMockRecorder) DMUpdate ¶
func (mr *MockPosterMockRecorder) DMUpdate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DMUpdate indicates an expected call of DMUpdate
func (*MockPosterMockRecorder) DMWithAttachments ¶
func (mr *MockPosterMockRecorder) DMWithAttachments(arg0 interface{}, arg1 ...interface{}) *gomock.Call
DMWithAttachments indicates an expected call of DMWithAttachments
func (*MockPosterMockRecorder) DeletePost ¶
func (mr *MockPosterMockRecorder) DeletePost(arg0 interface{}) *gomock.Call
DeletePost indicates an expected call of DeletePost
func (*MockPosterMockRecorder) Ephemeral ¶
func (mr *MockPosterMockRecorder) Ephemeral(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Ephemeral indicates an expected call of Ephemeral
func (*MockPosterMockRecorder) UpdatePost ¶
func (mr *MockPosterMockRecorder) UpdatePost(arg0 interface{}) *gomock.Call
UpdatePost indicates an expected call of UpdatePost