package legacy

import "github.com/google/go-containerregistry/pkg/internal/legacy"

Package legacy provides methods for interacting with legacy image formats.

Index

Functions

func CopySchema1

func CopySchema1(desc *remote.Descriptor, srcRef, dstRef name.Reference, srcAuth, dstAuth authn.Authenticator) error

CopySchema1 allows `[g]crane cp` to work with old images without adding full support for schema 1 images to this package.

Source Files

copy.go

Version
v0.2.1
Published
Dec 1, 2020
Platform
js/wasm
Imports
10 packages
Last checked
4 hours ago

Tools for package owners.