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

Struct Platform

cli/command/formatter/container.go:35–37  ·  view source on GitHub ↗

Platform wraps a [ocispec.Platform] to implement the stringer interface.

Source from the content-addressed store, hash-verified

33
34// Platform wraps a [ocispec.Platform] to implement the stringer interface.
35type Platform struct {
36 ocispec.Platform
37}
38
39func (p Platform) String() string {
40 return platforms.FormatAll(p.Platform)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected