Documentation ¶
Overview ¶
Package uncompressed implemented an uncompressed layer based container store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct {
// contains filtered or unexported fields
}
An Bundle is an OCI runtime bundle. Its root filesystem is a temporary extraction of its image's cached layers.
type Bundler ¶
type Bundler struct {
// contains filtered or unexported fields
}
A Bundler prepares OCI runtime bundles for use by an OCI runtime. It creates the bundle's rootfs by extracting the supplied image's uncompressed layer tarballs.
func NewBundler ¶
NewBundler returns a an OCI runtime bundler that creates a bundle's rootfs by extracting uncompressed layer tarballs.
type RuntimeSpecWriter ¶
type RuntimeSpecWriter interface { // Write and write an OCI runtime spec to the supplied path. Write(path string, o ...spec.Option) error }
A RuntimeSpecWriter writes an OCI runtime spec to the supplied path.
type RuntimeSpecWriterFn ¶
A RuntimeSpecWriterFn allows a function to satisfy RuntimeSpecCreator.
type TarballApplicator ¶
type TarballApplicator interface { // Apply the supplied tarball - an OCI filesystem layer - to the supplied // root directory. Applying all of an image's layers, in the correct order, // should produce the image's "flattened" filesystem. Apply(ctx context.Context, tb io.Reader, root string) error }
A TarballApplicator applies (i.e. extracts) an OCI layer tarball. https://github.com/opencontainers/image-spec/blob/v1.0/layer.md