# Packages
Functions shared between linux/darwin.
No description provided by the author
No description provided by the author
Package exec is used to invoke child processes across various platforms to provide the following features:
- Least privilege - Resource constraints - Process isolation
A "platform" may be defined as coarsely as "Windows" or as specifically as "linux 3.20 with systemd".
No description provided by the author
No description provided by the author
# Functions
DefaultConfig returns the default configuration.
NewAllocRunner is used to create a new allocation context.
NewClient is used to create a new client from the given configuration.
NewTaskRunner is used to create a new task context.
# Structs
AllocRunner is used to wrap an allocation and provide the execution context.
Client is used to implement the client interaction with Nomad.
TaskRunner is used to wrap a task within an allocation and provide the execution context.
# Type aliases
AllocStateUpdater is used to update the status of an allocation.
TaskStateUpdater is used to update the status of a task.