Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.