MCPcopy Index your code
hub / github.com/docker/cli / cliReader

Struct cliReader

cli/command/telemetry.go:188–191  ·  view source on GitHub ↗

cliReader is an implementation of Reader that will automatically report to a designated Exporter when Shutdown is called.

Source from the content-addressed store, hash-verified

186// cliReader is an implementation of Reader that will automatically
187// report to a designated Exporter when Shutdown is called.
188type cliReader struct {
189 sdkmetric.Reader
190 exporter sdkmetric.Exporter
191}
192
193func newCLIReader(exp sdkmetric.Exporter) sdkmetric.Reader {
194 reader := sdkmetric.NewManualReader(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected