package
0.1.2
Repository: https://github.com/sdedelbrock/nomad.git
Documentation: pkg.go.dev

# Packages

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.
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
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.
JavaDriver is a simple driver to execute applications packaged in Jars.
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.

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