github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/helper/pluginutils/catalog/register_testing.go (about)

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