# Structs
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
AllocRunner is the interface to the allocRunner struct used by client.Client.
AllocStatsReporter gives access to the latest resource usage from the allocation.
DriverStats is the interface implemented by DriverHandles to return task stats.
HookResourceSetter is used to communicate between alloc hooks and task hooks.
A RunnerDestroyHook is executed after AllocRunner.Run has exited and must make a best effort cleanup allocation resources.
RunnerHook is a lifecycle hook into the life cycle of an allocation runner.
A RunnerPostrunHook is executed after calling TaskRunner.Run, even for terminal allocations.
A RunnerPreKillHook is executed inside of KillTasks before iterating and killing each task.
A RunnerPrerunHook is executed before calling TaskRunner.Run for non-terminal allocations.
A RunnerTaskRestartHook is executed just before the allocation runner is going to restart all tasks.
A RunnerUpdateHook is executed when an allocation update is received from the server.
ShutdownHook may be implemented by AllocRunner or TaskRunner hooks and will be called when the agent process is being shutdown gracefully.
No description provided by the author
TaskHook is a lifecycle hook into the life cycle of a task runner.
No description provided by the author
No description provided by the author
No description provided by the author
TaskStateHandler exposes a handler to be called when a task's state changes.
No description provided by the author
No description provided by the author