job

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 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 StartOptions

type StartOptions struct {
	User           string   `json:"username"`
	AccessKey      string   `json:"accessKey"`
	App            string   `json:"app,omitempty"`
	Suite          string   `json:"suite,omitempty"`
	Framework      string   `json:"framework,omitempty"`
	BrowserName    string   `json:"browserName,omitempty"`
	BrowserVersion string   `json:"browserVersion,omitempty"`
	PlatformName   string   `json:"platformName,omitempty"`
	Name           string   `json:"name,omitempty"`
	Build          string   `json:"build,omitempty"`
	Tags           []string `json:"tags,omitempty"`
}

StartOptions represents the options for starting a job.

type Starter

type Starter interface {
	StartJob(ctx context.Context, opts StartOptions) (jobID string, err error)
}

Starter is the interface for starting jobs.

Jump to

Keyboard shortcuts

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