MCPcopy Create free account
hub / github.com/docker/cli / GpuOpts

Struct GpuOpts

opts/gpus.go:14–16  ·  view source on GitHub ↗

GpuOpts is a Value type for parsing mounts

Source from the content-addressed store, hash-verified

12
13// GpuOpts is a Value type for parsing mounts
14type GpuOpts struct {
15 values []container.DeviceRequest
16}
17
18func parseCount(s string) (int, error) {
19 if s == "all" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected