Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) SendCommandCompletedEvent(outcome string)
- func (c *Client) SendCommandRunEvent(properties map[string]interface{})
- func (c *Client) SendSetupFlagToggledEvent(on bool, count int, duration_ms int64)
- func (c *Client) SendSetupSDKSelectedEvent(sdk string)
- func (c *Client) SendSetupStepStartedEvent(step string)
- func (a *Client) Wait()
- type ClientFn
- type LogClient
- func (c *LogClient) SendCommandCompletedEvent(outcome string)
- func (c *LogClient) SendCommandRunEvent(properties map[string]interface{})
- func (c *LogClient) SendSetupFlagToggledEvent(on bool, count int, duration_ms int64)
- func (c *LogClient) SendSetupSDKSelectedEvent(sdk string)
- func (c *LogClient) SendSetupStepStartedEvent(step string)
- func (a *LogClient) Wait()
- type LogClientFn
- type MockTracker
- func (m *MockTracker) SendCommandCompletedEvent(outcome string)
- func (m *MockTracker) SendCommandRunEvent(properties map[string]interface{})
- func (m *MockTracker) SendSetupFlagToggledEvent(on bool, count int, duration_ms int64)
- func (m *MockTracker) SendSetupSDKSelectedEvent(sdk string)
- func (m *MockTracker) SendSetupStepStartedEvent(step string)
- func (a *MockTracker) Wait()
- type NoopClient
- func (c *NoopClient) SendCommandCompletedEvent(outcome string)
- func (c *NoopClient) SendCommandRunEvent(properties map[string]interface{})
- func (c *NoopClient) SendSetupFlagToggledEvent(on bool, count int, duration_ms int64)
- func (c *NoopClient) SendSetupSDKSelectedEvent(sdk string)
- func (c *NoopClient) SendSetupStepStartedEvent(step string)
- func (a *NoopClient) Wait()
- type NoopClientFn
- type Tracker
- type TrackerFn
Constants ¶
View Source
const ( ERROR = "error" HELP = "help" SUCCESS = "success" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SendCommandCompletedEvent ¶
func (*Client) SendCommandRunEvent ¶
func (*Client) SendSetupFlagToggledEvent ¶
func (*Client) SendSetupSDKSelectedEvent ¶
func (*Client) SendSetupStepStartedEvent ¶
type LogClient ¶ added in v1.5.0
type LogClient struct{}
func (*LogClient) SendCommandCompletedEvent ¶ added in v1.5.0
func (*LogClient) SendCommandRunEvent ¶ added in v1.5.0
func (*LogClient) SendSetupFlagToggledEvent ¶ added in v1.5.0
func (*LogClient) SendSetupSDKSelectedEvent ¶ added in v1.5.0
func (*LogClient) SendSetupStepStartedEvent ¶ added in v1.5.0
type LogClientFn ¶ added in v1.5.0
type LogClientFn struct{}
type MockTracker ¶
func MockedTracker ¶
func MockedTracker(name string, action string, flags []string, outcome string) *MockTracker
func (*MockTracker) SendCommandCompletedEvent ¶
func (m *MockTracker) SendCommandCompletedEvent(outcome string)
func (*MockTracker) SendCommandRunEvent ¶
func (m *MockTracker) SendCommandRunEvent(properties map[string]interface{})
func (*MockTracker) SendSetupFlagToggledEvent ¶
func (m *MockTracker) SendSetupFlagToggledEvent(on bool, count int, duration_ms int64)
func (*MockTracker) SendSetupSDKSelectedEvent ¶
func (m *MockTracker) SendSetupSDKSelectedEvent(sdk string)
func (*MockTracker) SendSetupStepStartedEvent ¶
func (m *MockTracker) SendSetupStepStartedEvent(step string)
func (*MockTracker) Wait ¶
func (a *MockTracker) Wait()
type NoopClient ¶
type NoopClient struct{}
func (*NoopClient) SendCommandCompletedEvent ¶
func (c *NoopClient) SendCommandCompletedEvent(outcome string)
func (*NoopClient) SendCommandRunEvent ¶
func (c *NoopClient) SendCommandRunEvent(properties map[string]interface{})
func (*NoopClient) SendSetupFlagToggledEvent ¶
func (c *NoopClient) SendSetupFlagToggledEvent(on bool, count int, duration_ms int64)
func (*NoopClient) SendSetupSDKSelectedEvent ¶
func (c *NoopClient) SendSetupSDKSelectedEvent(sdk string)
func (*NoopClient) SendSetupStepStartedEvent ¶
func (c *NoopClient) SendSetupStepStartedEvent(step string)
func (*NoopClient) Wait ¶
func (a *NoopClient) Wait()
type NoopClientFn ¶
type NoopClientFn struct{}
func (NoopClientFn) Tracker ¶
func (fn NoopClientFn) Tracker() TrackerFn
Click to show internal directories.
Click to hide internal directories.