build

package
v0.90.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Build represents a grouping of jobs.

type BuildSource

type BuildSource string

BuildSource defines the type of test device associated with the job and build.

const (
	VDC BuildSource = "vdc"
	RDC             = "rdc"
)

type Reader

type Reader interface {
	// GetBuildID returns the build id for a given job id.
	GetBuildID(ctx context.Context, jobID string, buildSource BuildSource) (string, error)
}

Reader is the interface for requesting build information.

Jump to

Keyboard shortcuts

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