Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublishTask ¶
func PublishTask(queue *tcqueue.Queue, taskID string, tdr tcqueue.TaskDefinitionRequest, workerGroup, workerID string, artifacts []ArtifactSource) error
PublishTask submits the task `taskID` with definition `tdr` using `queue`. The task is claimed using `workerGroup` and `workerID`, and then `artifacts` are uploaded in sequence using taskcluster-lib-artifact-go. This function is useful for e.g. integration tests for the various taskcluster go libraries and utilities that rely on tasks and/or artifact content to test their features.
Types ¶
type ArtifactSource ¶
type ArtifactSource struct { Name string Content io.ReadSeeker GZip bool Multipart bool }
Click to show internal directories.
Click to hide internal directories.