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