package
0.12.12
Repository: https://github.com/hashicorp/nomad.git
Documentation: pkg.go.dev

# 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

# Functions

NewDriverHandle returns a handle for task operations on a specific task.
NewHookError contains an underlying err and a pre-formatted task event.
NewLazyHandle takes the function to receive the latest handle and a logger and returns a LazyHandle.
No description provided by the author

# Constants

HookNameDevices is the name of the devices hook.
TaskDirHookIsDoneDataKey is used to mark whether the hook is done.

# Variables

No description provided by the author

# Structs

No description provided by the author
DriverHandle encapsulates a driver plugin client and task identifier and exposes an api to perform driver operations on the task.
LazyHandle is used to front calls to a DriverHandle where it is expected the existing handle may no longer be valid because the backing plugin has shutdown.
No description provided by the author

# Interfaces

StatsUpdater is the interface required by the StatsHook to update stats.