mocks

package
v0.0.0-...-0390e60 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SwarmingV2Client

type SwarmingV2Client struct {
	mock.Mock
}

SwarmingV2Client is an autogenerated mock type for the SwarmingV2Client type

func NewSwarmingV2Client

func NewSwarmingV2Client(t interface {
	mock.TestingT
	Cleanup(func())
}) *SwarmingV2Client

NewSwarmingV2Client creates a new instance of SwarmingV2Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SwarmingV2Client) BatchGetResult

BatchGetResult provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) CancelTask

CancelTask provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) CancelTasks

CancelTasks provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) CountBots

CountBots provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) CountTasks

CountTasks provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) DeleteBot

DeleteBot provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) GetBot

func (_m *SwarmingV2Client) GetBot(ctx context.Context, in *apipb.BotRequest, opts ...grpc.CallOption) (*apipb.BotInfo, error)

GetBot provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) GetBotDimensions

GetBotDimensions provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) GetRequest

GetRequest provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) GetResult

GetResult provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) GetStdout

GetStdout provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) ListBotEvents

ListBotEvents provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) ListBotTasks

ListBotTasks provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) ListBots

ListBots provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) ListTaskRequests

func (_m *SwarmingV2Client) ListTaskRequests(ctx context.Context, in *apipb.TasksRequest, opts ...grpc.CallOption) (*apipb.TaskRequestsResponse, error)

ListTaskRequests provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) ListTaskStates

func (_m *SwarmingV2Client) ListTaskStates(ctx context.Context, in *apipb.TaskStatesRequest, opts ...grpc.CallOption) (*apipb.TaskStates, error)

ListTaskStates provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) ListTasks

ListTasks provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) NewTask

NewTask provides a mock function with given fields: ctx, in, opts

func (*SwarmingV2Client) TerminateBot

TerminateBot provides a mock function with given fields: ctx, in, opts

Jump to

Keyboard shortcuts

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