Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CLISource is sent for cli metrics CLISource = "cli" // APISource is sent for API metrics APISource = "api" // SuccessStatus is sent for API metrics SuccessStatus = "success" // FailureStatus is sent for API metrics FailureStatus = "failure" // CanceledStatus is sent for API metrics CanceledStatus = "canceled" )
Variables ¶
This section is empty.
Functions ¶
func GetCommand ¶ added in v0.1.19
GetCommand get the invoked command
Types ¶
type Client ¶
type Client interface { // Send sends the command to Docker Desktop. Note that the function doesn't // return anything, not even an error, this is because we don't really care // if the metrics were sent or not. We only fire and forget. Send(Command) }
Client sends metrics to Docker Desktopn
Click to show internal directories.
Click to hide internal directories.