Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CMDFinishedEvent ¶
type CMDFinishedEvent struct { // Time represents Unix timestampt in microseconds Timestamp int64 `json:"timestamp,omitempty"` ExecutionID string `json:"executionID,omitempty"` Command string `json:"command,omitempty"` Provider string `json:"provider,omitempty"` ProviderVersion string `json:"providerVersion,omitempty"` //TODO: implement a way to get this value Success bool `json:"success,omitempty"` ProcessingTime int `json:"processingTime,omitempty"` Errors string `json:"errors,omitempty"` }
type CMDStartedEvent ¶
type CMDStartedEvent struct { // Timestamp represents Unix timestampt in microseconds Timestamp int64 `json:"timestamp,omitempty"` ExecutionID string `json:"executionID,omitempty"` Command string `json:"command,omitempty"` Provider string `json:"provider,omitempty"` ProviderVersion string `json:"providerVersion,omitempty"` //TODO: implement a way to get this value }
type InstanceProperties ¶
type InstanceProperties struct { Timestamp int64 `json:"timestamp,omitempty"` ExecutionID string `json:"executionID,omitempty"` UID string `json:"uid,omitempty"` Arch string `json:"arch,omitempty"` OS string `json:"os,omitempty"` Version Version `json:"version,omitempty"` Flags Flags `json:"flags,omitempty"` UI bool `json:"ui"` }
type TelemetryRequest ¶
type TelemetryRequest struct { EventType EventType `json:"type,omitempty"` Event interface{} `json:"event,omitempty"` InstanceProperties InstanceProperties `json:"instanceProperties,omitempty"` Token string `json:"token,omitempty"` }
Click to show internal directories.
Click to hide internal directories.