github.com/manicqin/nomad@v0.9.5/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  )
     7  
     8  var (
     9  	// AgentSupportedApiVersions is the set of API versions supported by the
    10  	// Nomad agent by plugin type.
    11  	AgentSupportedApiVersions = map[string][]string{
    12  		base.PluginTypeDevice: {device.ApiVersion010},
    13  		base.PluginTypeDriver: {device.ApiVersion010},
    14  	}
    15  )