package
0.194.1
Repository: https://github.com/saucelabs/saucectl.git
Documentation: pkg.go.dev

# Functions

HasPlatform returns true if the provided Metadata has a matching platform.
NewSearchStrategy returns a concrete MetadataSearchStrategy.
PlatformNames extracts platform names from the given platforms and returns them.

# Variables

Monkey patch functions to allow mocking during unit testing.
Monkey patch functions to allow mocking during unit testing.

# Structs

ExactStrategy searches for the metadata of a framework by its exact version.
Framework represents a test framework (e.g.
Metadata represents test runner metadata.
PackageStrategy searches for metadata of a framework from a package.json file.
Platform represent a supported platform.
UnavailableError is an error type returned if the requested framework version is unavailable.

# Interfaces

MetadataSearchStrategy is a generic strategy for determining if the requested framework version is supported.
MetadataService represents an interface for retrieving framework metadata.