# Functions
BoolToPtr returns the pointer to a boolean.
NewClient returns a new Nomad client, using the default configuration or the configuration options provided through environment variables.
NewMetaGenerator initializes and returns a new nomad metadata generator.
NewMetaGeneratorFromConfig initializes and returns a new nomad metadata generator.
NewWatcher initializes the watcher client to provide a events handler for resource from the cluster (filtered to the given node).
StringToPtr returns the pointer to a string.
# Constants
Allocation of the status on a given Nomad client.
Allocation of the status on a given Nomad client.
Allocation of the status on a given Nomad client.
Allocation of the status on a given Nomad client.
Allocation of the status on a given Nomad client.
Allocation should stop, and was evicted.
Allocation should run.
Allocation should stop.
DefaultNamespace is the default namespace.
JobStatusDead Dead means all evaluation's and allocations are terminal.
JobStatusPending Pending means the job is waiting on scheduling.
JobStatusRunning Running means the job has non-terminal allocations.
JobTypeBatch indicates a short-lived process.
JobTypeService indicates a long-running processes.
JobTypeSystem indicates a system process that should run on all clients.
PeriodicSpecCron is used for a cron spec.
Terminal state of task.
The task is waiting to be run.
The task is currently running.
# Structs
FilteringResourceEventHandler applies the provided filter to all events coming in, ensuring the appropriate nested handler method is invoked.
MetaGeneratorConfig settings.
ResourceEventHandlerFuncs is an adaptor to let you easily specify as many or as few of the notification functions as you want while still implementing ResourceEventHandler.
WatchOptions controls watch behaviors.
# Interfaces
MetaGenerator builds metadata objects for allocations.
ResourceEventHandler can handle notifications for events that happen to a resource.
Watcher watches Nomad task events.