architecture

package
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportedArches = map[string]OCIPlatform{
	"amd64":    {OS: "linux", Architecture: "amd64"},
	"arm32v5":  {OS: "linux", Architecture: "arm", Variant: "v5"},
	"arm32v6":  {OS: "linux", Architecture: "arm", Variant: "v6"},
	"arm32v7":  {OS: "linux", Architecture: "arm", Variant: "v7"},
	"arm64v8":  {OS: "linux", Architecture: "arm64", Variant: "v8"},
	"i386":     {OS: "linux", Architecture: "386"},
	"mips64le": {OS: "linux", Architecture: "mips64le"},
	"ppc64le":  {OS: "linux", Architecture: "ppc64le"},
	"riscv64":  {OS: "linux", Architecture: "riscv64"},
	"s390x":    {OS: "linux", Architecture: "s390x"},

	"windows-amd64": {OS: "windows", Architecture: "amd64"},
}

Functions

func Normalize added in v0.1.6

func Normalize(p ocispec.Platform) ocispec.Platform

Types

type OCIPlatform

type OCIPlatform ocispec.Platform

https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md#image-index-property-descriptions see "platform" (under "manifests")

func (OCIPlatform) Is added in v0.1.6

func (p OCIPlatform) Is(q OCIPlatform) bool

func (OCIPlatform) String added in v0.1.3

func (p OCIPlatform) String() string

https://pkg.go.dev/github.com/containerd/containerd/platforms

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL