github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/helper/pluginutils/catalog/register_testing.go (about)

     1  // +build !release
     2  
     3  package catalog
     4  
     5  import "github.com/hashicorp/nomad/drivers/mock"
     6  
     7  // Register the mock driver with the builtin driver plugin catalog. All builtin
     8  // plugins that are intended for production use should be registered in
     9  // register.go as this file is not built as part of a release.
    10  func init() {
    11  	Register(mock.PluginID, mock.PluginConfig)
    12  }