usage

package
v0.175.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Properties

type Properties map[string]interface{}

Properties is a scoped data transfer object for usage reporting and contains usage event related data.

func (Properties) SetArtifacts

func (p Properties) SetArtifacts(art config.Artifacts) Properties

SetArtifacts reports artifact usage.

func (Properties) SetFVersion

func (p Properties) SetFVersion(f string) Properties

SetFVersion reports the framework version.

func (Properties) SetFlags

func (p Properties) SetFlags(flags *pflag.FlagSet) Properties

SetFlags reports CLI flags.

func (Properties) SetFramework

func (p Properties) SetFramework(f string) Properties

SetFramework reports the framework.

func (Properties) SetJobs

func (p Properties) SetJobs(jobs []report.TestResult) Properties

SetJobs reports job (aka test results).

func (Properties) SetLaunchOrder added in v0.105.0

func (p Properties) SetLaunchOrder(launchOrder config.LaunchOrder) Properties

SetLaunchOrder reports launch order of jobs

func (Properties) SetNPM

func (p Properties) SetNPM(npm config.Npm) Properties

SetNPM reports the npm usage.

func (Properties) SetNumSuites

func (p Properties) SetNumSuites(n int) Properties

SetNumSuites reports the number of configured suites.

func (Properties) SetReporters added in v0.157.0

func (p Properties) SetReporters(reporters config.Reporters) Properties

func (Properties) SetSauceConfig

func (p Properties) SetSauceConfig(c config.SauceConfig) Properties

SetSauceConfig reports key fields of the sauce config.

func (Properties) SetSharding added in v0.82.0

func (p Properties) SetSharding(sharded bool) Properties

func (Properties) SetSlack added in v0.78.0

func (p Properties) SetSlack(slack config.Slack) Properties

SetSlack reports Slack related settings.

func (Properties) SetSmartRetry added in v0.148.0

func (p Properties) SetSmartRetry(isSmartRetried bool) Properties

SetSmartRetry reports if the suites set as smartRetry

type Tracker

type Tracker interface {
	io.Closer
	Collect(subject string, props Properties)
}

Tracker is an interface for providing usage tracking.

Jump to

Keyboard shortcuts

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