MCPcopy Create free account
hub / github.com/OpenFunction/samples / getLocalPlugins

Function getLocalPlugins

functions-framework/golang/Knative/http/main.go:29–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func getLocalPlugins() map[string]plugin.Plugin {
30 localPlugins := map[string]plugin.Plugin{
31 pluginCustom.Name: pluginCustom.New(),
32 }
33
34 if len(localPlugins) == 0 {
35 return nil
36 } else {
37 return localPlugins
38 }
39}

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected