(p imagespec.Platform)
| 8 | ) |
| 9 | |
| 10 | func 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 | |
| 18 | func platformMessageGenerator(platforms []imagespec.Platform) string { |
| 19 | var platformMessage string |
no outgoing calls
no test coverage detected