2018-12-18 00:40:58 +00:00
|
|
|
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{
|
2018-12-18 23:07:30 +00:00
|
|
|
base.PluginTypeDevice: {device.ApiVersion010},
|
|
|
|
base.PluginTypeDriver: {device.ApiVersion010},
|
2018-12-18 00:40:58 +00:00
|
|
|
}
|
|
|
|
)
|