image

package
v1.5.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DockerTagMaxSize = 128
)

Functions

func CheckPushPermissions

func CheckPushPermissions(ctx context.Context, image string) error

func GetImage

func GetImage(ctx context.Context, image string) (v1.Image, error)

func GetImageConfig

func GetImageConfig(
	ctx context.Context,
	image string,
) (*v1.ConfigFile, v1.Image, error)

func GetImageConfigForArch

func GetImageConfigForArch(
	ctx context.Context,
	image, arch string,
) (*v1.ConfigFile, v1.Image, error)

func GetImageForArch

func GetImageForArch(ctx context.Context, image, arch string) (v1.Image, error)

func GetImagePlatforms added in v1.3.1

func GetImagePlatforms(ctx context.Context, image string) ([]string, error)

GetImagePlatforms returns the "os/arch" platforms a remote image reference supports. Multi-arch indexes return every entry; single-image manifests fall back to the config file's OS/Architecture.

func GetKeychain

func GetKeychain(ctx context.Context) (authn.Keychain, error)

func IsValidDockerTag

func IsValidDockerTag(tag string) bool

func SanitizeRegistryError added in v1.1.0

func SanitizeRegistryError(err error) error

func ValidateTags

func ValidateTags(tags []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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