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 ¶
func AssignTasks(r []*swarming.AssignTasksRequest) (types.Operation, []*swarming.AssignTasksResponse)
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 ¶
func NotifyTasks(r *swarming.NotifyTasksRequest) (types.Operation, *swarming.NotifyTasksResponse)
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.
Click to show internal directories.
Click to hide internal directories.