open-nomad/client/pluginmanager/drivermanager/state/state.go
2019-01-22 15:11:58 -08:00

12 lines
355 B
Go

package state
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
ReattachConfigs map[string]*pstructs.ReattachConfig
}