MCPcopy Index your code
hub / github.com/linuxkit/linuxkit / platformString

Function platformString

src/cmd/linuxkit/cache/platform.go:10–16  ·  view source on GitHub ↗
(p imagespec.Platform)

Source from the content-addressed store, hash-verified

8)
9
10func platformString(p imagespec.Platform) string {
11 parts := []string{p.OS, p.Architecture}
12 if p.Variant != "" {
13 parts = append(parts, p.Variant)
14 }
15 return strings.Join(parts, "/")
16}
17
18func platformMessageGenerator(platforms []imagespec.Platform) string {
19 var platformMessage string

Callers 3

ValidateImageMethod · 0.85
platformMessageGeneratorFunction · 0.85
ImagePullMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected