export

package
v1.0.0-alpha.44 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package export serializes an OCI artifact stored in a memory store to a portable JSON blob and restores it back into a memory store.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(ctx context.Context, store *memory.Store, ref spec.Reference) ([]byte, error)

Export serializes the manifest, config, and all layers of ref into a portable JSON blob. ctx is honored for each store fetch.

func Import

func Import(ctx context.Context, data []byte) (*memory.Store, string, error)

Import reconstructs a memory store from a blob produced by Export and returns the store plus the root manifest digest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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