github.com/banmanh482/nomad@v0.11.8/helper/pluginutils/loader/api_versions.go (about) 1 package loader 2 3 import ( 4 "github.com/hashicorp/nomad/plugins/base" 5 "github.com/hashicorp/nomad/plugins/device" 6 "github.com/hashicorp/nomad/plugins/drivers" 7 ) 8 9 var ( 10 // AgentSupportedApiVersions is the set of API versions supported by the 11 // Nomad agent by plugin type. 12 AgentSupportedApiVersions = map[string][]string{ 13 base.PluginTypeDevice: {device.ApiVersion010}, 14 base.PluginTypeDriver: {drivers.ApiVersion010}, 15 } 16 )