swarmingv2

package
v0.0.0-...-0abec67 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SwarmingV2TaskExecutor

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

SwarmingV2TaskExecutor implements types.TaskExecutor.

func NewSwarmingV2TaskExecutor

func NewSwarmingV2TaskExecutor(client swarmingv2.SwarmingV2Client, casInstance, pubSubTopic string) *SwarmingV2TaskExecutor

NewSwarmingV2TaskExecutor returns a SwarmingTaskExecutor instance.

func (*SwarmingV2TaskExecutor) GetFreeMachines

func (s *SwarmingV2TaskExecutor) GetFreeMachines(ctx context.Context, pool string) ([]*types.Machine, error)

GetFreeMachines implements types.TaskExecutor.

func (*SwarmingV2TaskExecutor) GetPendingTasks

func (s *SwarmingV2TaskExecutor) GetPendingTasks(ctx context.Context, pool string) ([]*types.TaskResult, error)

GetPendingTasks implements types.TaskExecutor.

func (*SwarmingV2TaskExecutor) GetTaskCompletionStatuses

func (s *SwarmingV2TaskExecutor) GetTaskCompletionStatuses(ctx context.Context, taskIDs []string) ([]bool, error)

GetTaskCompletionStatuses implements types.TaskExecutor.

func (*SwarmingV2TaskExecutor) GetTaskResult

func (s *SwarmingV2TaskExecutor) GetTaskResult(ctx context.Context, taskID string) (*types.TaskResult, error)

GetTaskResult implements types.TaskExecutor.

func (*SwarmingV2TaskExecutor) TriggerTask

TriggerTask implements types.TaskExecutor.

Jump to

Keyboard shortcuts

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