package
0.0.0-20231113155554-3d2dcd121ffc
Repository: https://github.com/crossplane/function-runtime-oci.git
Documentation: pkg.go.dev

# 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.

# Constants

Unknown UID and GIDs.
Unknown UID and GIDs.

# Structs

Groups represents a user's groups.
Passwd (and group) file data.

# Type aliases

A GID within an /etc/passwd or /etc/group file.
A Groupname within an /etc/group file.
An Option specifies optional OCI runtime configuration.
A UID within an /etc/passwd file.
A Username within an /etc/passwd file.