package importer
import "github.com/kubernetes-incubator/cri-containerd/pkg/containerd/importer"
Index ¶
Functions ¶
func Import ¶
func Import(ctx context.Context, client *containerd.Client, reader io.Reader) (_ []string, retErr error)
Import implements Docker Image Spec v1.1. An image MUST have `manifest.json`. `repositories` file in Docker Image Spec v1.0 is not supported (yet). Also, the current implementation assumes the implicit file name convention, which is not explicitly documented in the spec. (e.g. foobar/layer.tar) It returns a group of image references successfully loaded.
Source Files ¶
- Version
- v1.0.2
- Published
- May 31, 2018
- Platform
- linux/amd64
- Imports
- 20 packages
- Last checked
- 6 hours ago –
Tools for package owners.