16 lines
381 B
Go
16 lines
381 B
Go
package loader
|
|
|
|
import (
|
|
"github.com/hashicorp/nomad/plugins/base"
|
|
"github.com/hashicorp/nomad/plugins/device"
|
|
)
|
|
|
|
var (
|
|
// AgentSupportedApiVersions is the set of API versions supported by the
|
|
// Nomad agent by plugin type.
|
|
AgentSupportedApiVersions = map[string][]string{
|
|
base.PluginTypeDevice: {device.ApiVersion010},
|
|
base.PluginTypeDriver: {device.ApiVersion010},
|
|
}
|
|
)
|