Files
nomad/client/devicemanager/state/state.go
2023-08-10 17:27:15 -05:00

15 lines
426 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package state
import pstructs "github.com/hashicorp/nomad/plugins/shared/structs"
// PluginState is used to store the device manager's state across restarts of the
// agent
type PluginState struct {
// ReattachConfigs are the set of reattach configs for plugins launched by
// the device manager
ReattachConfigs map[string]*pstructs.ReattachConfig
}