framework

package
v0.35.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitReleaseSegments added in v0.30.0

func GitReleaseSegments(m *Metadata) (org, repo, tag string, err error)

GitReleaseSegments segments GitRelease into separate parts of org, repo and tag. Returns an error if GitRelease is malformed. The expected GitRelease format is "org/repo:tag".

Types

type Framework

type Framework struct {
	Name    string
	Version string
}

Framework represents a test framework (e.g. cypress).

type Metadata added in v0.30.0

type Metadata struct {
	FrameworkName      string
	FrameworkVersion   string
	CloudRunnerVersion string
	DockerImage        string
	GitRelease         string
}

Metadata represents test runner metadata.

type MetadataService added in v0.30.0

type MetadataService interface {
	Search(ctx context.Context, opts SearchOptions) (Metadata, error)
}

MetadataService represents an interface for retrieving framework metadata.

type SearchOptions added in v0.30.0

type SearchOptions struct {
	Name             string
	FrameworkVersion string
}

SearchOptions represents read query options for MetadataService.Search().

Jump to

Keyboard shortcuts

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