Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindNydusBootstrapDesc ¶
func FindNydusBootstrapDesc(manifest *ocispec.Manifest) *ocispec.Descriptor
Try to find the topmost layer in Nydus manifest, it should be a Nydus bootstrap layer, see examples/manifest/manifest.json
Types ¶
type Parsed ¶
type Parsed struct { Index *ocispec.Index // The base image from which to generate nydus image. NydusImage *Image }
Parsed presents OCI and Nydus image manifest. Nydus image conversion only works on top of an existed oci image whose platform is linux/amd64
type Parser ¶
Parser parses OCI & Nydus image manifest, manifest index and image config into Parsed object, see the Nydus image example: examples/manifest/index.json, examples/manifest/manifest.json.
func (*Parser) PullNydusBootstrap ¶
PullNydusBootstrap pulls Nydus bootstrap layer from Nydus image.
Click to show internal directories.
Click to hide internal directories.