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

# Packages

# Functions

New returns a new device manager.
NewUnknownDeviceError returns a new UnknownDeviceError for the given device.
UnknownDeviceErrFromAllocated is a helper that returns an UnknownDeviceError populating it via the AllocatedDeviceResource struct.

# Structs

Config is used to configure a device manager.
UnknownDeviceError is returned when an operation is attempted on an unknown device.

# Interfaces

Manager is the interface used to manage device plugins.
StateStorage is used to persist the device managers state across agent restarts.

# Type aliases

StorePluginReattachFn is used to store plugin reattachment configurations.
UpdateNodeDevices is a callback for updating the set of devices on a node.