framework

package
v0.63.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 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
	DockerImage      string
	GitRelease       string
	Platforms        []Platform
}

Metadata represents test runner metadata.

type MetadataService added in v0.30.0

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

	Frameworks(ctx context.Context) ([]Framework, error)
	Versions(ctx context.Context, frameworkName string) ([]Metadata, error)
}

MetadataService represents an interface for retrieving framework metadata.

type Platform added in v0.49.0

type Platform struct {
	PlatformName string
	BrowserNames []string
}

Platform represent a supported platform.

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