package archutil

import "github.com/moby/buildkit/util/archutil"

Index

Constants

const Binary386 = "" /* 978 byte string literal not displayed */
const Binaryamd64 = "" /* 1018 byte string literal not displayed */
const Binaryarm = "" /* 758 byte string literal not displayed */
const Binaryarm64 = "" /* 594 byte string literal not displayed */
const Binaryppc64le = "" /* 682 byte string literal not displayed */
const Binaryriscv64 = "" /* 590 byte string literal not displayed */
const Binarys390x = "" /* 574 byte string literal not displayed */

Functions

func Check

func Check(pp specs.Platform) bool

func SupportedPlatforms

func SupportedPlatforms(noCache bool) []string

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_unix.go detect.go ppc64le_binary.go ppc64le_check.go riscv64_binary.go riscv64_check.go s390x_binary.go s390x_check.go

Version
v0.8.0
Published
Dec 3, 2020
Platform
js/wasm
Imports
13 packages
Last checked
now

Tools for package owners.