Versions in this module Expand all Collapse all v0 v0.21.0 May 22, 2026 Changes in this version + type CommitOpts struct + Epoch *time.Time + OCITypes bool + RefCfg cacheconfig.RefConfig + RewriteTimestamp bool + type Deps struct + ContentStore content.Store + Images images.Store + LeaseManager leases.Manager + Pusher RegistryPusher + Writer *Writer + type ExportOpts struct + Commit CommitOpts + DanglingPrefix string + Insecure bool + NameCanonical bool + Names []string + Push bool + PushByDigest bool + Store bool + type ExportRequest struct + IndexAnnotations map[string]string + IndexDescriptorAnnotations map[string]string + InlineCache map[string][]byte + Platforms []PlatformExportInput + type ExportResponse struct + ImageNames []string + Platforms []ExportedPlatform + RootDesc ocispecs.Descriptor + func Export(ctx context.Context, deps Deps, req *ExportRequest, opts ExportOpts) (*ExportResponse, error) + type ExportedImage struct + Platforms []ExportedPlatform + Provider content.InfoReaderProvider + RootDesc ocispecs.Descriptor + SourceAnnotations map[digest.Digest]map[string]string + type ExportedPlatform struct + ConfigDesc ocispecs.Descriptor + Key string + ManifestDesc ocispecs.Descriptor + Platform ocispecs.Platform + type PlatformExportInput struct + BaseImage *dockerspec.DockerOCIImage + Config dockerspec.DockerOCIImage + Key string + ManifestAnnotations map[string]string + ManifestDescriptorAnnotations map[string]string + Platform ocispecs.Platform + Ref cache.ImmutableRef + type PushOpts struct + Insecure bool + PushByDigest bool + type RegistryPusher interface + PushImage func(ctx context.Context, img *ExportedImage, ref string, opts PushOpts) error + type Writer struct + func NewWriter(opt WriterOpt) (*Writer, error) + func (w *Writer) Assemble(ctx context.Context, req *ExportRequest, opts CommitOpts) (*ExportedImage, error) + type WriterOpt struct + Applier diff.Applier + ContentStore content.Store + Differ diff.Comparer + Snapshotter cache.Snapshotter