Plugins: Split plugin manager into smaller components (#54384)
* split out plugin manager * remove whitespace * fix tests * split up tests * updating naming conventions * simplify manager * tidy * add more fakes * testing time * add query verif to int test * renaming * add process tests * tidy up manager tests * add extra case to int test * add more coverage to store and process tests * remove comment * fix capatilization * init on provide * remove addfromsource from API
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package process
|
||||
|
||||
import "context"
|
||||
|
||||
type Service interface {
|
||||
// Start executes a backend plugin process.
|
||||
Start(ctx context.Context, pluginID string) error
|
||||
// Stop terminates a backend plugin process.
|
||||
Stop(ctx context.Context, pluginID string) error
|
||||
}
|
||||
Reference in New Issue
Block a user