fleet

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 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