# Functions
New produces a new OCI runtime spec (i.e.
ParsePasswd parses the supplied passwd and group data.
ParsePasswdFiles parses the passwd and group files at the supplied paths.
WithCPULimit limits the container's CPU usage per the supplied Kubernetes-style limit string (e.g.
WithHostNetwork configures the container to share the host's (i.e.
WithImageConfig extends a Spec with configuration derived from an OCI image config file.
WithMemoryLimit limits the container's memory usage per the supplied Kubernetes-style limit string (e.g.
WithRootFS configures a container's rootfs.
WithUser resolves an OCI image config user string in order to set the spec's process user.
WithUserAndGroup resolves an OCI image config user string in order to set the spec's process user.
WithUserOnly resolves an OCI Image config user string in order to set the spec's process user.
Write an OCI runtime spec to the supplied path.