Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Example ¶ added in v0.4.5
Example returns an example spec file, used as a "good sane default". XXX: Really we should just use runc's directly.
func MutateRuntimeSpec ¶
MutateRuntimeSpec mutates a given runtime configuration with the image configuration provided.
func ToRootless ¶ added in v0.4.5
ToRootless converts a specification to a version that works with rootless containers. This is done by removing options and other settings that clash with unprivileged user namespaces.
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.