grafana/pkg/plugins/manager/process/ifaces.go
Will Browne 4a707e2a88
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
2022-08-30 17:30:43 +02:00

11 lines
254 B
Go

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
}