mock

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

func (m *MockBot) GetGrafana() grafana.Client

GetGrafana mocks base method.

func (*MockBot) GetHive

func (m *MockBot) GetHive() hive.Hive

GetHive 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) GetQueues

func (m *MockBot) GetQueues() []queue.Queuer

GetQueues mocks base method.

func (*MockBot) GetRoleConfig

func (m *MockBot) GetRoleConfig() *common.RoleConfig

GetRoleConfig mocks base method.

func (*MockBot) GetScheduler

func (m *MockBot) GetScheduler() *scheduler.Scheduler

GetScheduler mocks base method.

func (*MockBot) GetSession

func (m *MockBot) GetSession() *discordgo.Session

GetSession mocks base method.

func (*MockBot) SetCommands

func (m *MockBot) SetCommands(commands []common.Command)

SetCommands mocks base method.

func (*MockBot) Start

func (m *MockBot) Start(ctx context.Context) error

Start mocks base method.

func (*MockBot) Stop

func (m *MockBot) Stop(ctx context.Context) error

Stop 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.

func (*MockBotMockRecorder) Start

func (mr *MockBotMockRecorder) Start(ctx any) *gomock.Call

Start indicates an expected call of Start.

func (*MockBotMockRecorder) Stop

func (mr *MockBotMockRecorder) Stop(ctx any) *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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