Versions in this module Expand all Collapse all v0 v0.20.4 Aug 7, 2024 Changes in this version + func ImageIndexFromPath(path string) (v1.ImageIndex, error) + type Option func(*options) + func WithAnnotations(annotations map[string]string) Option + func WithPlatform(platform v1.Platform) Option + func WithURLs(urls []string) Option + type Path string + func FromPath(path string) (Path, error) + func Write(path string, ii v1.ImageIndex) (Path, error) + func (l Path) AppendDescriptor(desc v1.Descriptor) error + func (l Path) AppendImage(img v1.Image, options ...Option) error + func (l Path) AppendIndex(ii v1.ImageIndex, options ...Option) error + func (l Path) Blob(h v1.Hash) (io.ReadCloser, error) + func (l Path) Bytes(h v1.Hash) ([]byte, error) + func (l Path) GarbageCollect() ([]v1.Hash, error) + func (l Path) Image(h v1.Hash) (v1.Image, error) + func (l Path) ImageIndex() (v1.ImageIndex, error) + func (l Path) RemoveBlob(hash v1.Hash) error + func (l Path) RemoveDescriptors(matcher match.Matcher) error + func (l Path) ReplaceImage(img v1.Image, matcher match.Matcher, options ...Option) error + func (l Path) ReplaceIndex(ii v1.ImageIndex, matcher match.Matcher, options ...Option) error + func (l Path) WriteBlob(hash v1.Hash, r io.ReadCloser) error + func (l Path) WriteFile(name string, data []byte, perm os.FileMode) error + func (l Path) WriteImage(img v1.Image) error + func (l Path) WriteIndex(ii v1.ImageIndex) error