Skip to content
Snippets Groups Projects

Change the current gosdn plugin implementation from Go's internal plugin system to hashicorp's go-plugins

Merged Ghost User requested to merge mb/plugin-registry-hashicorp-go-plugin into develop
2 files
+ 31
21
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -14,7 +14,7 @@ type MemoryPluginStore struct {
@@ -14,7 +14,7 @@ type MemoryPluginStore struct {
nameLookupTable map[string]string
nameLookupTable map[string]string
}
}
// NewMemoryPluginStore returns a specific in-memory store for a type T.
// NewMemoryPluginStore returns a specific in-memory store for plugins.
func NewMemoryPluginStore() plugin.Store {
func NewMemoryPluginStore() plugin.Store {
return &MemoryPluginStore{
return &MemoryPluginStore{
Store: make(map[string]plugin.LoadedPlugin),
Store: make(map[string]plugin.LoadedPlugin),
Loading