{"modulePath":"github.com/chainloop-dev/chainloop","version":"v1.141.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package plugins\n\n## Functions\n\n```go\nfunc Load(pluginsDir string, netPolicy sdk.NetworkPolicy, l log.Logger) (plugins sdk.AvailablePlugins, err error)\n```\nLoad the available third party integrations, these integrations can come in the form of a) Plugins implemented with go-plugin, compiled as a separate binary and placed in pluginsDir b) Built-in plugins implemented as a go modules and loaded in memory Important: Plugins have precedence over built-in plugins\n\nnetPolicy applies to the plugins whose destination is an arbitrary URL taken from their registration config. Plugins whose destination is a known public service enforce their own, stricter policy.\n\n## Types\n\n```go\ntype PluginInitializer interface {\n\tInit(path string) (*sdk.FanOutP, error)\n}\n```\n\n","path":"github.com/chainloop-dev/chainloop/app/controlplane/plugins","name":"plugins","synopsis":"","isRedistributable":true}
