Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) Flush()
- func (c *Client) Track(eventType string, properties map[string]interface{})
- func (c *Client) TrackCLIStart(args []string)
- func (c *Client) TrackConfigLoaded(configPath string)
- func (c *Client) TrackTestComplete(featureFile string, duration time.Duration, stepCount int)
- func (c *Client) TrackTestFailed(featureFile string, duration time.Duration, errorMsg string)
- func (c *Client) TrackTestRun(featureFile string)
- type Config
Constants ¶
View Source
const ( EventTestRun = "test_run" EventTestComplete = "test_complete" EventTestFailed = "test_failed" EventCLIStart = "cli_start" EventConfigLoaded = "config_loaded" EventFeatureLoaded = "feature_loaded" )
Event types for infraspec
View Source
const ( // AmplitudeAPIKey is the Amplitude API key for telemetry. It is designed to be public. // See https://amplitude.com/docs/apis/keys-and-tokens for more information. AmplitudeAPIKey = "9dc54881885bd60f8ccbb9cef2dfaa7a" //nolint:gosec )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) TrackCLIStart ¶
TrackCLIStart tracks when the CLI starts
func (*Client) TrackConfigLoaded ¶
TrackConfigLoaded tracks when config is loaded
func (*Client) TrackTestComplete ¶
TrackTestComplete tracks when a test completes successfully
func (*Client) TrackTestFailed ¶
TrackTestFailed tracks when a test fails
func (*Client) TrackTestRun ¶
TrackTestRun tracks when a test run starts
Click to show internal directories.
Click to hide internal directories.