mock

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 6 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 MockBotTasksCursor

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

MockBotTasksCursor is a mock of BotTasksCursor interface.

func NewMockBotTasksCursor

func NewMockBotTasksCursor(ctrl *gomock.Controller) *MockBotTasksCursor

NewMockBotTasksCursor creates a new mock instance.

func (*MockBotTasksCursor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBotTasksCursor) Next

Next mocks base method.

type MockBotTasksCursorMockRecorder

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

MockBotTasksCursorMockRecorder is the mock recorder for MockBotTasksCursor.

func (*MockBotTasksCursorMockRecorder) Next

func (mr *MockBotTasksCursorMockRecorder) Next(arg0, arg1 interface{}) *gomock.Call

Next indicates an expected call of Next.

type MockSwarmingClient

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

MockSwarmingClient is a mock of SwarmingClient interface.

func NewMockSwarmingClient

func NewMockSwarmingClient(ctrl *gomock.Controller) *MockSwarmingClient

NewMockSwarmingClient creates a new mock instance.

func (*MockSwarmingClient) CreateTask

CreateTask mocks base method.

func (*MockSwarmingClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSwarmingClient) GetTaskResult

GetTaskResult mocks base method.

func (*MockSwarmingClient) ListAliveBotsInPool

func (m *MockSwarmingClient) ListAliveBotsInPool(arg0 context.Context, arg1 string, arg2 strpair.Map) ([]*swarming.SwarmingRpcsBotInfo, error)

ListAliveBotsInPool mocks base method.

func (*MockSwarmingClient) ListAliveIdleBotsInPool

func (m *MockSwarmingClient) ListAliveIdleBotsInPool(c context.Context, pool string, dims strpair.Map) ([]*swarming.SwarmingRpcsBotInfo, error)

ListAliveIdleBotsInPool mocks base method.

func (*MockSwarmingClient) ListBotTasks

func (m *MockSwarmingClient) ListBotTasks(id string) clients.BotTasksCursor

ListBotTasks mocks base method.

func (*MockSwarmingClient) ListRecentTasks

func (m *MockSwarmingClient) ListRecentTasks(c context.Context, tags []string, state string, limit int) ([]*swarming.SwarmingRpcsTaskResult, error)

ListRecentTasks mocks base method.

func (*MockSwarmingClient) ListSortedRecentTasksForBot

func (m *MockSwarmingClient) ListSortedRecentTasksForBot(c context.Context, botID string, limit int) ([]*swarming.SwarmingRpcsTaskResult, error)

ListSortedRecentTasksForBot mocks base method.

type MockSwarmingClientMockRecorder

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

MockSwarmingClientMockRecorder is the mock recorder for MockSwarmingClient.

func (*MockSwarmingClientMockRecorder) CreateTask

func (mr *MockSwarmingClientMockRecorder) CreateTask(c, name, args interface{}) *gomock.Call

CreateTask indicates an expected call of CreateTask.

func (*MockSwarmingClientMockRecorder) GetTaskResult

func (mr *MockSwarmingClientMockRecorder) GetTaskResult(ctx, tid interface{}) *gomock.Call

GetTaskResult indicates an expected call of GetTaskResult.

func (*MockSwarmingClientMockRecorder) ListAliveBotsInPool

func (mr *MockSwarmingClientMockRecorder) ListAliveBotsInPool(arg0, arg1, arg2 interface{}) *gomock.Call

ListAliveBotsInPool indicates an expected call of ListAliveBotsInPool.

func (*MockSwarmingClientMockRecorder) ListAliveIdleBotsInPool

func (mr *MockSwarmingClientMockRecorder) ListAliveIdleBotsInPool(c, pool, dims interface{}) *gomock.Call

ListAliveIdleBotsInPool indicates an expected call of ListAliveIdleBotsInPool.

func (*MockSwarmingClientMockRecorder) ListBotTasks

func (mr *MockSwarmingClientMockRecorder) ListBotTasks(id interface{}) *gomock.Call

ListBotTasks indicates an expected call of ListBotTasks.

func (*MockSwarmingClientMockRecorder) ListRecentTasks

func (mr *MockSwarmingClientMockRecorder) ListRecentTasks(c, tags, state, limit interface{}) *gomock.Call

ListRecentTasks indicates an expected call of ListRecentTasks.

func (*MockSwarmingClientMockRecorder) ListSortedRecentTasksForBot

func (mr *MockSwarmingClientMockRecorder) ListSortedRecentTasksForBot(c, botID, limit interface{}) *gomock.Call

ListSortedRecentTasksForBot indicates an expected call of ListSortedRecentTasksForBot.

Jump to

Keyboard shortcuts

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