package
0.12.12
Repository: https://github.com/hashicorp/nomad.git
Documentation: pkg.go.dev

# Packages

# Functions

CreateExecutor launches an executor plugin and returns an instance of the Executor interface.
DestroyCgroup kills all processes in the cgroup and removes the cgroup configuration from the host.
ExecScript executes cmd with args and returns the output, exit code, and error.
NewExecutor returns an Executor.
ReattachToExecutor launches a plugin with a given plugin config.
ReattachToPre09Executor creates a plugin client that reattaches to an existing pre 0.9 Nomad executor.
SupportedCaps returns a list of all supported capabilities in kernel.

# Constants

ExecutorDefaultMaxPort is the default max port used by the executor for searching for an available port.
ExecutorDefaultMinPort is the default min port used by the executor for searching for an available port.
ExecutorVersionLatest is the current and latest version of the executor.
ExecutorVersionPre0_9 is the version of executor use prior to the release of 0.9.x.

# Variables

The statistics the basic executor exposes.
ExecutorCgroupMeasuredCpuStats is the list of CPU stats captures by the executor.
ExecutorCgroupMeasuredMemStats is the list of memory stats captured by the executor.

# Structs

ExecCommand holds the user command, args, and other isolation related settings.
ExecutorConfig is the config that Nomad passes to the executor.
ExecutorVersion is the version of the executor.
LibcontainerExecutor implements an Executor with the runc/libcontainer api.
ExecutorReattachConfig is the config that we serialize and de-serialize and store in disk.
ProcessState holds information about the state of a user process.
UniversalExecutor is an implementation of the Executor which launches and supervises processes.

# Interfaces

Executor is the interface which allows a driver to launch and supervise a process.