open-nomad/client/devicemanager/state/state.go

12 lines
355 B
Go
Raw Normal View History

2018-11-01 01:00:30 +00:00
package state
2019-01-15 01:02:44 +00:00
import pstructs "github.com/hashicorp/nomad/plugins/shared/structs"
2018-11-01 01:00:30 +00:00
// PluginState is used to store the device manager's state across restarts of the
2018-11-01 01:00:30 +00:00
// agent
type PluginState struct {
// ReattachConfigs are the set of reattach configs for plugins launched by
2018-11-01 01:00:30 +00:00
// the device manager
2019-01-15 01:02:44 +00:00
ReattachConfigs map[string]*pstructs.ReattachConfig
2018-11-01 01:00:30 +00:00
}