Skip to content

Commit bb3d9f2

Browse files
committed
add comment for how to register out of tree plugin
Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com>
1 parent c38514b commit bb3d9f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/epp/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ import (
2727
func main() {
2828
// Register all known plugin factories
2929
runner.RegisterAllPlugins()
30+
// For adding out-of-tree plugins to the plugins registry, use the following:
31+
// plugins.Register(my-out-of-tree-plugin-name, my-out-of-tree-plugin-factory-function)
3032

3133
if err := runner.NewRunner().Run(ctrl.SetupSignalHandler()); err != nil {
3234
os.Exit(1)

0 commit comments

Comments
 (0)