Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockBot
- func (m *MockBot) EXPECT() *MockBotMockRecorder
- func (m *MockBot) GetCartographoor() *cartographoor.Service
- func (m *MockBot) GetChecksRepo() *store.ChecksRepo
- func (m *MockBot) GetGrafana() grafana.Client
- func (m *MockBot) GetHive() hive.Hive
- func (m *MockBot) GetHiveSummaryRepo() *store.HiveSummaryRepo
- func (m *MockBot) GetMentionsRepo() *store.MentionsRepo
- func (m *MockBot) GetMonitorRepo() *store.MonitorRepo
- func (m *MockBot) GetQueues() []queue.Queuer
- func (m *MockBot) GetRoleConfig() *common.RoleConfig
- func (m *MockBot) GetScheduler() *scheduler.Scheduler
- func (m *MockBot) GetSession() *discordgo.Session
- func (m *MockBot) SetCommands(commands []common.Command)
- func (m *MockBot) Start(ctx context.Context) error
- func (m *MockBot) Stop(ctx context.Context) error
- type MockBotMockRecorder
- func (mr *MockBotMockRecorder) GetCartographoor() *gomock.Call
- func (mr *MockBotMockRecorder) GetChecksRepo() *gomock.Call
- func (mr *MockBotMockRecorder) GetGrafana() *gomock.Call
- func (mr *MockBotMockRecorder) GetHive() *gomock.Call
- func (mr *MockBotMockRecorder) GetHiveSummaryRepo() *gomock.Call
- func (mr *MockBotMockRecorder) GetMentionsRepo() *gomock.Call
- func (mr *MockBotMockRecorder) GetMonitorRepo() *gomock.Call
- func (mr *MockBotMockRecorder) GetQueues() *gomock.Call
- func (mr *MockBotMockRecorder) GetRoleConfig() *gomock.Call
- func (mr *MockBotMockRecorder) GetScheduler() *gomock.Call
- func (mr *MockBotMockRecorder) GetSession() *gomock.Call
- func (mr *MockBotMockRecorder) SetCommands(commands any) *gomock.Call
- func (mr *MockBotMockRecorder) Start(ctx any) *gomock.Call
- func (mr *MockBotMockRecorder) Stop(ctx any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) GetCartographoor ¶ added in v0.0.25
func (m *MockBot) GetCartographoor() *cartographoor.Service
GetCartographoor mocks base method.
func (*MockBot) GetChecksRepo ¶
func (m *MockBot) GetChecksRepo() *store.ChecksRepo
GetChecksRepo mocks base method.
func (*MockBot) GetGrafana ¶
GetGrafana mocks base method.
func (*MockBot) GetHiveSummaryRepo ¶ added in v0.0.13
func (m *MockBot) GetHiveSummaryRepo() *store.HiveSummaryRepo
GetHiveSummaryRepo mocks base method.
func (*MockBot) GetMentionsRepo ¶
func (m *MockBot) GetMentionsRepo() *store.MentionsRepo
GetMentionsRepo mocks base method.
func (*MockBot) GetMonitorRepo ¶
func (m *MockBot) GetMonitorRepo() *store.MonitorRepo
GetMonitorRepo mocks base method.
func (*MockBot) GetRoleConfig ¶
func (m *MockBot) GetRoleConfig() *common.RoleConfig
GetRoleConfig mocks base method.
func (*MockBot) GetScheduler ¶
GetScheduler mocks base method.
func (*MockBot) GetSession ¶
GetSession mocks base method.
func (*MockBot) SetCommands ¶
SetCommands mocks base method.
type MockBotMockRecorder ¶
type MockBotMockRecorder struct {
// contains filtered or unexported fields
}
MockBotMockRecorder is the mock recorder for MockBot.
func (*MockBotMockRecorder) GetCartographoor ¶ added in v0.0.25
func (mr *MockBotMockRecorder) GetCartographoor() *gomock.Call
GetCartographoor indicates an expected call of GetCartographoor.
func (*MockBotMockRecorder) GetChecksRepo ¶
func (mr *MockBotMockRecorder) GetChecksRepo() *gomock.Call
GetChecksRepo indicates an expected call of GetChecksRepo.
func (*MockBotMockRecorder) GetGrafana ¶
func (mr *MockBotMockRecorder) GetGrafana() *gomock.Call
GetGrafana indicates an expected call of GetGrafana.
func (*MockBotMockRecorder) GetHive ¶
func (mr *MockBotMockRecorder) GetHive() *gomock.Call
GetHive indicates an expected call of GetHive.
func (*MockBotMockRecorder) GetHiveSummaryRepo ¶ added in v0.0.13
func (mr *MockBotMockRecorder) GetHiveSummaryRepo() *gomock.Call
GetHiveSummaryRepo indicates an expected call of GetHiveSummaryRepo.
func (*MockBotMockRecorder) GetMentionsRepo ¶
func (mr *MockBotMockRecorder) GetMentionsRepo() *gomock.Call
GetMentionsRepo indicates an expected call of GetMentionsRepo.
func (*MockBotMockRecorder) GetMonitorRepo ¶
func (mr *MockBotMockRecorder) GetMonitorRepo() *gomock.Call
GetMonitorRepo indicates an expected call of GetMonitorRepo.
func (*MockBotMockRecorder) GetQueues ¶
func (mr *MockBotMockRecorder) GetQueues() *gomock.Call
GetQueues indicates an expected call of GetQueues.
func (*MockBotMockRecorder) GetRoleConfig ¶
func (mr *MockBotMockRecorder) GetRoleConfig() *gomock.Call
GetRoleConfig indicates an expected call of GetRoleConfig.
func (*MockBotMockRecorder) GetScheduler ¶
func (mr *MockBotMockRecorder) GetScheduler() *gomock.Call
GetScheduler indicates an expected call of GetScheduler.
func (*MockBotMockRecorder) GetSession ¶
func (mr *MockBotMockRecorder) GetSession() *gomock.Call
GetSession indicates an expected call of GetSession.
func (*MockBotMockRecorder) SetCommands ¶
func (mr *MockBotMockRecorder) SetCommands(commands any) *gomock.Call
SetCommands indicates an expected call of SetCommands.