open-nomad/plugins/shared/loader/api_versions.go
Alex Dadgar 730a6f5b9a lint
2018-12-18 16:48:00 -08:00

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},
}
)