Documentation ¶
Index ¶
- type DB
- type FS
- type Service
- type Telemetry
- func (ac *Telemetry) DeleteTc(ctx context.Context)
- func (ac *Telemetry) EditTc(ctx context.Context)
- func (ac *Telemetry) GetApps(apps int, ctx context.Context)
- func (ac *Telemetry) MockTestRun(success int, failure int, ctx context.Context)
- func (ac *Telemetry) Normalize(ctx context.Context)
- func (ac *Telemetry) Ping(isTestMode bool)
- func (ac *Telemetry) RecordedMock(ctx context.Context, mockType string)
- func (ac *Telemetry) RecordedTest(ctx context.Context, mockCount int, mockType []string)
- func (ac *Telemetry) SendTelemetry(eventType string, ctx context.Context, output ...map[string]interface{})
- func (ac *Telemetry) Testrun(success int, failure int, ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Ping(bool) Normalize(context.Context) EditTc(context.Context) Testrun(int, int, context.Context) MockTestRun(int, int, context.Context) RecordedTest(context.Context, int, []string) RecordedMock(context.Context, string) DeleteTc(context.Context) GetApps(int, context.Context) }
type Telemetry ¶
type Telemetry struct { Enabled bool OffMode bool InstallationID string KeployVersion string GlobalMap map[string]interface{} // contains filtered or unexported fields }
func NewTelemetry ¶
func (*Telemetry) MockTestRun ¶ added in v0.8.2
Telemetry event for the Mocking feature test run
func (*Telemetry) RecordedMock ¶ added in v0.8.1
Telemetry event for the mocks that are recorded in the mocking feature
func (*Telemetry) RecordedTest ¶ added in v0.8.1
Telemetry event for the tests and mocks that are recorded
func (*Telemetry) SendTelemetry ¶
Click to show internal directories.
Click to hide internal directories.