package archutil

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

Index

Constants

const Binary386 = "" /* 738 byte string literal not displayed */
const Binaryamd64 = "" /* 1958 byte string literal not displayed */
const Binaryarm = "" /* 758 byte string literal not displayed */
const Binaryarm64 = "" /* 594 byte string literal not displayed */
const Binarymips64 = "" /* 1162 byte string literal not displayed */
const Binarymips64le = "" /* 1170 byte string literal not displayed */
const Binaryppc64 = "" /* 1290 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 SupportedPlatforms

func SupportedPlatforms(noCache bool) []ocispecs.Platform

func WarnIfUnsupported

func WarnIfUnsupported(pfs []ocispecs.Platform)

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 mips64_binary.go mips64_check.go mips64le_binary.go mips64le_check.go ppc64_binary.go ppc64_check.go ppc64le_binary.go ppc64le_check.go riscv64_binary.go riscv64_check.go s390x_binary.go s390x_check.go

Version
v0.11.0-rc4
Published
Jan 6, 2023
Platform
js/wasm
Imports
14 packages
Last checked
19 seconds ago

Tools for package owners.