Documentation ¶
Index ¶
- type SwarmingV2Client
- func (_m *SwarmingV2Client) BatchGetResult(ctx context.Context, in *apipb.BatchGetResultRequest, opts ...grpc.CallOption) (*apipb.BatchGetResultResponse, error)
- func (_m *SwarmingV2Client) CancelTask(ctx context.Context, in *apipb.TaskCancelRequest, opts ...grpc.CallOption) (*apipb.CancelResponse, error)
- func (_m *SwarmingV2Client) CancelTasks(ctx context.Context, in *apipb.TasksCancelRequest, opts ...grpc.CallOption) (*apipb.TasksCancelResponse, error)
- func (_m *SwarmingV2Client) CountBots(ctx context.Context, in *apipb.BotsCountRequest, opts ...grpc.CallOption) (*apipb.BotsCount, error)
- func (_m *SwarmingV2Client) CountTasks(ctx context.Context, in *apipb.TasksCountRequest, opts ...grpc.CallOption) (*apipb.TasksCount, error)
- func (_m *SwarmingV2Client) DeleteBot(ctx context.Context, in *apipb.BotRequest, opts ...grpc.CallOption) (*apipb.DeleteResponse, error)
- func (_m *SwarmingV2Client) GetBot(ctx context.Context, in *apipb.BotRequest, opts ...grpc.CallOption) (*apipb.BotInfo, error)
- func (_m *SwarmingV2Client) GetBotDimensions(ctx context.Context, in *apipb.BotsDimensionsRequest, opts ...grpc.CallOption) (*apipb.BotsDimensions, error)
- func (_m *SwarmingV2Client) GetRequest(ctx context.Context, in *apipb.TaskIdRequest, opts ...grpc.CallOption) (*apipb.TaskRequestResponse, error)
- func (_m *SwarmingV2Client) GetResult(ctx context.Context, in *apipb.TaskIdWithPerfRequest, opts ...grpc.CallOption) (*apipb.TaskResultResponse, error)
- func (_m *SwarmingV2Client) GetStdout(ctx context.Context, in *apipb.TaskIdWithOffsetRequest, ...) (*apipb.TaskOutputResponse, error)
- func (_m *SwarmingV2Client) ListBotEvents(ctx context.Context, in *apipb.BotEventsRequest, opts ...grpc.CallOption) (*apipb.BotEventsResponse, error)
- func (_m *SwarmingV2Client) ListBotTasks(ctx context.Context, in *apipb.BotTasksRequest, opts ...grpc.CallOption) (*apipb.TaskListResponse, error)
- func (_m *SwarmingV2Client) ListBots(ctx context.Context, in *apipb.BotsRequest, opts ...grpc.CallOption) (*apipb.BotInfoListResponse, error)
- func (_m *SwarmingV2Client) ListTaskRequests(ctx context.Context, in *apipb.TasksRequest, opts ...grpc.CallOption) (*apipb.TaskRequestsResponse, error)
- func (_m *SwarmingV2Client) ListTaskStates(ctx context.Context, in *apipb.TaskStatesRequest, opts ...grpc.CallOption) (*apipb.TaskStates, error)
- func (_m *SwarmingV2Client) ListTasks(ctx context.Context, in *apipb.TasksWithPerfRequest, opts ...grpc.CallOption) (*apipb.TaskListResponse, error)
- func (_m *SwarmingV2Client) NewTask(ctx context.Context, in *apipb.NewTaskRequest, opts ...grpc.CallOption) (*apipb.TaskRequestMetadataResponse, error)
- func (_m *SwarmingV2Client) TerminateBot(ctx context.Context, in *apipb.TerminateRequest, opts ...grpc.CallOption) (*apipb.TerminateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SwarmingV2Client ¶
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 ¶
func (_m *SwarmingV2Client) BatchGetResult(ctx context.Context, in *apipb.BatchGetResultRequest, opts ...grpc.CallOption) (*apipb.BatchGetResultResponse, error)
BatchGetResult provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) CancelTask ¶
func (_m *SwarmingV2Client) CancelTask(ctx context.Context, in *apipb.TaskCancelRequest, opts ...grpc.CallOption) (*apipb.CancelResponse, error)
CancelTask provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) CancelTasks ¶
func (_m *SwarmingV2Client) CancelTasks(ctx context.Context, in *apipb.TasksCancelRequest, opts ...grpc.CallOption) (*apipb.TasksCancelResponse, error)
CancelTasks provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) CountBots ¶
func (_m *SwarmingV2Client) CountBots(ctx context.Context, in *apipb.BotsCountRequest, opts ...grpc.CallOption) (*apipb.BotsCount, error)
CountBots provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) CountTasks ¶
func (_m *SwarmingV2Client) CountTasks(ctx context.Context, in *apipb.TasksCountRequest, opts ...grpc.CallOption) (*apipb.TasksCount, error)
CountTasks provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) DeleteBot ¶
func (_m *SwarmingV2Client) DeleteBot(ctx context.Context, in *apipb.BotRequest, opts ...grpc.CallOption) (*apipb.DeleteResponse, error)
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 ¶
func (_m *SwarmingV2Client) GetBotDimensions(ctx context.Context, in *apipb.BotsDimensionsRequest, opts ...grpc.CallOption) (*apipb.BotsDimensions, error)
GetBotDimensions provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) GetRequest ¶
func (_m *SwarmingV2Client) GetRequest(ctx context.Context, in *apipb.TaskIdRequest, opts ...grpc.CallOption) (*apipb.TaskRequestResponse, error)
GetRequest provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) GetResult ¶
func (_m *SwarmingV2Client) GetResult(ctx context.Context, in *apipb.TaskIdWithPerfRequest, opts ...grpc.CallOption) (*apipb.TaskResultResponse, error)
GetResult provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) GetStdout ¶
func (_m *SwarmingV2Client) GetStdout(ctx context.Context, in *apipb.TaskIdWithOffsetRequest, opts ...grpc.CallOption) (*apipb.TaskOutputResponse, error)
GetStdout provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) ListBotEvents ¶
func (_m *SwarmingV2Client) ListBotEvents(ctx context.Context, in *apipb.BotEventsRequest, opts ...grpc.CallOption) (*apipb.BotEventsResponse, error)
ListBotEvents provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) ListBotTasks ¶
func (_m *SwarmingV2Client) ListBotTasks(ctx context.Context, in *apipb.BotTasksRequest, opts ...grpc.CallOption) (*apipb.TaskListResponse, error)
ListBotTasks provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) ListBots ¶
func (_m *SwarmingV2Client) ListBots(ctx context.Context, in *apipb.BotsRequest, opts ...grpc.CallOption) (*apipb.BotInfoListResponse, error)
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 ¶
func (_m *SwarmingV2Client) ListTasks(ctx context.Context, in *apipb.TasksWithPerfRequest, opts ...grpc.CallOption) (*apipb.TaskListResponse, error)
ListTasks provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) NewTask ¶
func (_m *SwarmingV2Client) NewTask(ctx context.Context, in *apipb.NewTaskRequest, opts ...grpc.CallOption) (*apipb.TaskRequestMetadataResponse, error)
NewTask provides a mock function with given fields: ctx, in, opts
func (*SwarmingV2Client) TerminateBot ¶
func (_m *SwarmingV2Client) TerminateBot(ctx context.Context, in *apipb.TerminateRequest, opts ...grpc.CallOption) (*apipb.TerminateResponse, error)
TerminateBot provides a mock function with given fields: ctx, in, opts