Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MutateRuntimeSpec ¶
func MutateRuntimeSpec(g rgen.Generator, rootfs string, image ispec.Image, manifest ispec.Manifest) error
MutateRuntimeSpec mutates a given runtime specification generator with the image configuration provided. It returns the original generator, and does not modify any fields directly (to allow for chaining).
XXX: This conversion is not actually defined by the image-spec. There is a
proposal in-the-works though. https://github.com/opencontainers/image-spec/pull/492
func ToRuntimeSpec ¶
ToRuntimeSpec converts the given OCI image configuration to a runtime configuration appropriate for use, which is templated on the default configuration specified by the OCI runtime-tools. It is equivalent to MutateRuntimeSpec("runtime-tools/generate".New(), image).Spec().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.