Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CLISource = "cli"
CLISource is sent for cli metrics
Functions ¶
func HasQuietFlag ¶ added in v1.0.13
HasQuietFlag returns true if one of the arguments is `--quiet` or `-q`
Types ¶
type Client ¶
type Client interface {
// WithCliVersionFunc sets the docker cli version func
// that returns the docker cli version (com.docker.cli)
WithCliVersionFunc(f func() string)
// 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)
// Track sends the tracking analytics to Docker Desktop
Track(context string, args []string, status string)
}
Client sends metrics to Docker Desktop
Click to show internal directories.
Click to hide internal directories.