fleet

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, seq Sequencer, buildID string, testFiles []string, suites []config.Suite) (string, error)

Register is a convenience function for Sequencer.Register().

Types

type Sequencer

type Sequencer interface {
	Register(ctx context.Context, buildID string, testSuites []TestSuite) (string, error)
	NextAssignment(ctx context.Context, fleetID, suiteName string) (string, error)
}

Sequencer is the interface for test sequencing.

type TestSuite

type TestSuite struct {
	Name      string   `json:"name"`
	TestFiles []string `json:"testFiles"`
}

TestSuite represents the user's test suite.

Jump to

Keyboard shortcuts

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