github.com/billybanfield/evergreen@v0.0.0-20170525200750-eeee692790f7/plugin/config/installed_plugins.go (about)

     1  // The plugin/config package is used to manage which plugins
     2  // are imported into MCI. The installed_plugins.go file contains
     3  // an import for each plugin package we would like to use.
     4  //
     5  // Plugins publish themselves to the mci/plugin package on program initialization.
     6  // This means that once we've  written a package that properly registers a plugin,
     7  // all we have to do to make the mci/plugin package aware of it is to import
     8  // the new package somewhere (i.e. in installed_plugins.go).
     9  //
    10  // To install a new plugin, simply get it:
    11  //  go get host.com/path/to/new/plugin
    12  // And import it in installed_plugins.go with:
    13  //  import _ "host.com/path/to/new/plugin"
    14  // (the underscore after the import is used to tell Go we just want to import
    15  // the package for its initialization function)
    16  package config
    17  
    18  // ===== PLUGINS INCLUDED WITH MCI =====
    19  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/archive"
    20  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/attach"
    21  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/expansions"
    22  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/git"
    23  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/helloworld"
    24  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/gotest"
    25  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/s3"
    26  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/s3copy"
    27  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/shell"
    28  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/manifest"
    29  import _ "github.com/evergreen-ci/evergreen/plugin/builtin/taskdata"