testcomposer

package
v0.38.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	HTTPClient  *http.Client
	URL         string // e.g.) https://api.<region>.saucelabs.net
	Credentials credentials.Credentials
}

Client service

func (*Client) Search added in v0.30.0

Search returns metadata for the given search options opts.

func (*Client) StartJob

func (c *Client) StartJob(ctx context.Context, opts job.StartOptions) (jobID string, err error)

StartJob creates a new job in Sauce Labs.

type FrameworkResponse added in v0.27.0

type FrameworkResponse struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Runner  runner `json:"runner"`
}

FrameworkResponse represents the response body for framework information.

type Job

type Job struct {
	ID    string `json:"id"`
	Owner string `json:"owner"`
}

Job represents the sauce labs test job.

Jump to

Keyboard shortcuts

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