ociplatform

package
v4.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPUVariant

func CPUVariant() string

func CheckImagePlatform added in v4.1.0

func CheckImagePlatform(platform ggcrv1.Platform, img ggcrv1.Image) error

CheckImagePlatform ensures that an image reference satisfies the provided platform requirements.

func DefaultPlatform

func DefaultPlatform() (*ggcrv1.Platform, error)

func PlatformFromArch

func PlatformFromArch(a string) (*ggcrv1.Platform, error)

func PlatformFromString

func PlatformFromString(p string) (*ggcrv1.Platform, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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