diffs: - https://github.com/docker/cli/compare/v26.1.4..v27.0.1 - https://github.com/docker/docker/compare/v26.1.4..v27.0.1 - https://github.com/moby/buildkit/compare/v0.14.1...aaaf86e5470bffbb395f5c15ad4a1c152642ea30 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
26 lines
751 B
Go
26 lines
751 B
Go
package command
|
|
|
|
// WithEnableGlobalMeterProvider configures the DockerCli to create a new
|
|
// MeterProvider from the initialized DockerCli struct, and set it as
|
|
// the global meter provider.
|
|
//
|
|
// WARNING: For internal use, don't depend on this.
|
|
func WithEnableGlobalMeterProvider() CLIOption {
|
|
return func(cli *DockerCli) error {
|
|
cli.enableGlobalMeter = true
|
|
return nil
|
|
}
|
|
}
|
|
|
|
// WithEnableGlobalTracerProvider configures the DockerCli to create a new
|
|
// TracerProvider from the initialized DockerCli struct, and set it as
|
|
// the global tracer provider.
|
|
//
|
|
// WARNING: For internal use, don't depend on this.
|
|
func WithEnableGlobalTracerProvider() CLIOption {
|
|
return func(cli *DockerCli) error {
|
|
cli.enableGlobalTracer = true
|
|
return nil
|
|
}
|
|
}
|