package binfmt_misc
import "github.com/moby/buildkit/util/binfmt_misc"
Index ¶
- Constants
- func Check(pp specs.Platform) bool
- func SupportedPlatforms(noCache bool) []string
- func WarnIfUnsupported(pfs []string)
Constants ¶
const Binary386 = "" /* 946 byte string literal not displayed */
const Binaryamd64 = "" /* 974 byte string literal not displayed */
const Binaryarm = "" /* 702 byte string literal not displayed */
const Binaryarm64 = "" /* 550 byte string literal not displayed */
const Binaryppc64le = "" /* 638 byte string literal not displayed */
const Binaryriscv64 = "" /* 546 byte string literal not displayed */
const Binarys390x = "" /* 526 byte string literal not displayed */
Functions ¶
func Check ¶
func SupportedPlatforms ¶
func WarnIfUnsupported ¶
func WarnIfUnsupported(pfs []string)
WarnIfUnsupported validates the platforms and show warning message if there is, the end user could fix the issue based on those warning, and thus no need to drop the platform from the candidates.
Source Files ¶
386_binary.go 386_check.go amd64_binary.go amd64_check.go arm64_binary.go arm64_check.go arm_binary.go arm_check.go check.go check_unix.go detect.go ppc64le_binary.go ppc64le_check.go riscv64_binary.go riscv64_check.go s390x_binary.go s390x_check.go
- Version
- v0.7.1
- Published
- Apr 16, 2020
- Platform
- js/wasm
- Imports
- 13 packages
- Last checked
- 2 minutes ago –
Tools for package owners.