package
0.2.0
Repository: https://github.com/brmatt/nomad.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package executor is used to invoke child processes across various operating systems in a way that provides the following features: - Least privilege - Resource constraints - Process isolation An operating system may be something like "windows" or "linux with systemd".
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
NewDriver is used to instantiate and return a new driver given the name and a logger.
NewDriverContext initializes a new DriverContext with the specified fields.
NewExecContext is used to create a new execution context.
NewExecDriver is used to create a new exec driver.
NewJavaDriver is used to create a new exec driver.
NewQemuDriver is used to create a new exec driver.
NewRawExecDriver is used to create a new raw exec driver.
NewRktDriver is used to create a new exec driver.
TaskEnvironmentVariables converts exec context and task configuration into a TaskEnvironment.

# Variables

BuiltinDrivers contains the built in registered drivers which are available for allocation handling.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
DriverContext is a means to inject dependencies such as loggers, configs, and node attributes into a Driver without having to change the Driver interface each time we do it.
ExecContext is shared between drivers within an allocation.
ExecDriver fork/execs tasks using as many of the underlying OS's isolation features.
No description provided by the author
JavaDriver is a simple driver to execute applications packaged in Jars.
No description provided by the author
QemuDriver is a driver for running images via Qemu We attempt to chose sane defaults for now, with more configuration available planned in the future.
No description provided by the author
The RawExecDriver is a privileged version of the exec driver.
RktDriver is a driver for running images via Rkt We attempt to chose sane defaults for now, with more configuration available planned in the future.
No description provided by the author

# Interfaces

Driver is used for execution of tasks.
DriverHandle is an opaque handle into a driver used for task manipulation.

# Type aliases

Factory is used to instantiate a new Driver.