Documentation
¶
Overview ¶
Package container runs a check in an OCI container through the command line of an engine such as docker or podman.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Engine string
Image string
// Runtime is the OCI runtime name that the engine passes with --runtime. Empty means the default of the engine.
Runtime string
// Network is the engine network mode. The default none gives the check no network.
Network string
// User is the uid:gid of the check. The default is the uid and gid of the runner, so that the runner can delete what the
// check wrote, and 65532:65532 when the runner is root.
User string
Memory string
PidsLimit int
}
Config says how the container runs. Engine and Image are required.
Click to show internal directories.
Click to hide internal directories.