operations

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: 11 Imported by: 0

Documentation

Index

Constants

View Source
const AccountIDTagKey = "qs_account"

AccountIDTagKey is the key used in Task tags to specify which quotascheduler account the task should be charged to.

Variables

This section is empty.

Functions

func AssignTasks

AssignTasks returns an operation that will perform the given Assign requests.

The results slice will have the operation responses stored in it after the operation has run, as parallel entries to the slice of requests.

func GetAccountID

func GetAccountID(n *swarming.NotifyTasksItem) (string, error)

GetAccountID determines the account id for a given task, based on its tags.

func NotifyTasks

NotifyTasks returns an operation that will perform the given Notify request, and result object that will get the results after the operation is run.

Types

This section is empty.

Jump to

Keyboard shortcuts

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