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

12 lines
336 B
Go
Raw Normal View History

2018-11-01 01:00:30 +00:00
package state
import "github.com/hashicorp/nomad/plugins/shared"
// 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]*shared.ReattachConfig
}