Plugins: Refactor loader + finder to support multiple sourcing methods (#64735)
* it's cdn time * tidy body closing * auto signed * fix close * update log name * remove comments
This commit is contained in:
@@ -24,9 +24,10 @@ type Installer interface {
|
||||
Remove(ctx context.Context, pluginID string) error
|
||||
}
|
||||
|
||||
type PluginSource struct {
|
||||
Class Class
|
||||
Paths []string
|
||||
type PluginSource interface {
|
||||
PluginClass(ctx context.Context) Class
|
||||
PluginURIs(ctx context.Context) []string
|
||||
DefaultSignature(ctx context.Context) (Signature, bool)
|
||||
}
|
||||
|
||||
type CompatOpts struct {
|
||||
|
||||
Reference in New Issue
Block a user