open-nomad/client/pluginmanager/drivermanager/state/state.go

12 lines
355 B
Go
Raw Normal View History

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