github.com/thomasobenaus/nomad@v0.11.1/helper/pluginutils/catalog/register_nvidia_linux.go (about) 1 // +build !nonvidia 2 3 package catalog 4 5 import ( 6 "github.com/hashicorp/nomad/devices/gpu/nvidia" 7 ) 8 9 // This file is where all builtin plugins should be registered in the catalog. 10 // Plugins with build restrictions should be placed in the appropriate 11 // register_XXX.go file. 12 func init() { 13 Register(nvidia.PluginID, nvidia.PluginConfig) 14 }