Versions in this module Expand all Collapse all v0 v0.20.4 Aug 7, 2024 Changes in this version + func Append(base v1.Image, paths ...string) (v1.Image, error) + func Catalog(src string, opt ...Option) (res []string, err error) + func Config(ref string, opt ...Option) ([]byte, error) + func Copy(src, dst string, opt ...Option) error + func CopyRepository(src, dst string, opt ...Option) error + func Delete(src string, opt ...Option) error + func Digest(ref string, opt ...Option) (string, error) + func Export(img v1.Image, w io.Writer) error + func Get(r string, opt ...Option) (*remote.Descriptor, error) + func Head(r string, opt ...Option) (*v1.Descriptor, error) + func Image(filemap map[string][]byte) (v1.Image, error) + func Insecure(o *Options) + func Layer(filemap map[string][]byte) (v1.Layer, error) + func ListTags(src string, opt ...Option) ([]string, error) + func Load(path string, opt ...Option) (v1.Image, error) + func LoadTag(path, tag string, opt ...Option) (v1.Image, error) + func Manifest(ref string, opt ...Option) ([]byte, error) + func MultiSave(imgMap map[string]v1.Image, path string, opt ...Option) error + func MultiSaveLegacy(imgMap map[string]v1.Image, path string) error + func MultiSaveOCI(imgMap map[string]v1.Image, path string) error + func Pull(src string, opt ...Option) (v1.Image, error) + func PullLayer(ref string, opt ...Option) (v1.Layer, error) + func Push(img v1.Image, dst string, opt ...Option) error + func Save(img v1.Image, src, path string) error + func SaveLegacy(img v1.Image, src, path string) error + func SaveOCI(img v1.Image, path string) error + func Tag(img, tag string, opt ...Option) error + func Upload(layer v1.Layer, repo string, opt ...Option) error + type Option func(*Options) + func WithAuth(auth authn.Authenticator) Option + func WithAuthFromKeychain(keys authn.Keychain) Option + func WithContext(ctx context.Context) Option + func WithJobs(jobs int) Option + func WithNoClobber(noclobber bool) Option + func WithNondistributable() Option + func WithPlatform(platform *v1.Platform) Option + func WithTransport(t http.RoundTripper) Option + func WithUserAgent(ua string) Option + type Options struct + Keychain authn.Keychain + Name []name.Option + Platform *v1.Platform + Remote []remote.Option + Transport http.RoundTripper + func GetOptions(opts ...Option) Options