Documentation ¶
Overview ¶
Package telemetry provides functionality for telemetry data collection.
Index ¶
- type Options
- type Telemetry
- func (tel *Telemetry) MockTestRun(utilizedMocks int)
- func (tel *Telemetry) Ping()
- func (tel *Telemetry) RecordedMocks(mockTotal map[string]int)
- func (tel *Telemetry) RecordedTestAndMocks()
- func (tel *Telemetry) RecordedTestCaseMock(mockType string)
- func (tel *Telemetry) RecordedTestSuite(testSet string, testsTotal int, mockTotal map[string]int)
- func (tel *Telemetry) SendTelemetry(eventType string, output ...map[string]interface{})
- func (tel *Telemetry) TestRun(success int, failure int, testSets int, runStatus string)
- func (tel *Telemetry) TestSetRun(success int, failure int, testSet string, runStatus string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Telemetry ¶
type Telemetry struct { Enabled bool OffMode bool InstallationID string KeployVersion string GlobalMap map[string]interface{} // contains filtered or unexported fields }
func (*Telemetry) MockTestRun ¶
MockTestRun is Telemetry event for the Mocking feature test run
func (*Telemetry) RecordedMocks ¶
RecordedMocks is Telemetry event for the mocks that are recorded in the mocking feature
func (*Telemetry) RecordedTestAndMocks ¶
func (tel *Telemetry) RecordedTestAndMocks()
func (*Telemetry) RecordedTestCaseMock ¶
func (*Telemetry) RecordedTestSuite ¶
RecordedTestSuite is Telemetry event for the tests and mocks that are recorded
func (*Telemetry) SendTelemetry ¶
Click to show internal directories.
Click to hide internal directories.