usage

package
v0.68.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 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) SetDocker

func (p Properties) SetDocker(d config.Docker) Properties

SetDocker reports the docker container setup.

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) 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) SetSauceConfig

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

SetSauceConfig reports key fields of the sauce config.

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