oci

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V1Exporter

type V1Exporter struct {
}

V1Exporter implements OCI Image Spec v1. It is up to caller to put "org.opencontainers.image.ref.name" annotation to desc.

TODO(AkihiroSuda): add V1Exporter{TranslateMediaTypes: true} that transforms media types,

e.g. application/vnd.docker.image.rootfs.diff.tar.gzip
     -> application/vnd.oci.image.layer.v1.tar+gzip

func (*V1Exporter) Export

func (oe *V1Exporter) Export(ctx context.Context, store content.Provider, desc ocispec.Descriptor, writer io.Writer) error

Export implements Exporter.

Jump to

Keyboard shortcuts

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