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

Method clientPlatform

cli/command/system/info.go:55–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (i *dockerInfo) clientPlatform() string {
56 if i.ClientInfo != nil && i.ClientInfo.Platform != nil {
57 return i.ClientInfo.Platform.Name
58 }
59 return ""
60}
61
62// newInfoCommand creates a new cobra.Command for `docker info`
63func newInfoCommand(dockerCLI command.Cli) *cobra.Command {

Callers 1

prettyPrintInfoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected