loader and singleton

This commit is contained in:
Alex Dadgar
2019-01-14 16:50:05 -08:00
committed by Michael Schurter
parent b9f36134dc
commit c19cd2e5cf
35 changed files with 31 additions and 31 deletions

View File

@@ -0,0 +1,15 @@
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},
}
)