open-nomad/client/devicemanager/state/state.go
Tim Gross 1cf7ef44ed csi: docstring and log message fixups (#7327)
Fix some docstring typos and fix noisy log message during client restarts.
A log for the common case where the plugin socket isn't ready yet
isn't actionable by the operator so having it at info is just noise.
2020-03-23 13:58:30 -04:00

12 lines
355 B
Go

package state
import pstructs "github.com/hashicorp/nomad/plugins/shared/structs"
// PluginState is used to store the device manager's state across restarts of the
// agent
type PluginState struct {
// ReattachConfigs are the set of reattach configs for plugins launched by
// the device manager
ReattachConfigs map[string]*pstructs.ReattachConfig
}