# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
NewAllocGarbageCollector returns a garbage collector for terminated allocations on a node.
NewAllocRunner is used to create a new allocation context.
NewClient is used to create a new client from the given configuration.
No description provided by the author
NewTaskRunner is used to create a new task context.
No description provided by the author
NewTokenFuture returns a new token future without any token set.
# Constants
MB is a constant which converts values in bytes to MB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AllocGarbageCollector garbage collects terminated allocations on a node.
AllocRunner is used to wrap an allocation and provide the execution context.
Client is used to implement the client interaction with Nomad.
GCAlloc wraps an allocation runner and an index enabling it to be used within a PQ.
GCConfig allows changing the behaviour of the garbage collector.
IndexedGCAllocPQ is an indexed PQ which maintains a list of allocation runner based on their termination time.
No description provided by the author
SignalEvent is a tuple of the signal and the event generating it.
TaskRunner is used to wrap a task within an allocation and provide the execution context.
TaskTemplateManager is used to run a set of templates for a given task.
# Interfaces
No description provided by the author
ClientStatsReporter exposes all the APIs related to resource usage of a Nomad Client.
TaskHooks is an interface which provides hooks into the tasks life-cycle.
# Type aliases
AllocStateUpdater is used to update the status of an allocation.
No description provided by the author
TaskStateUpdater is used to signal that tasks state has changed.