mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 11:22:26 +08:00
15 lines
306 B
Go
15 lines
306 B
Go
package process
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/grafana/grafana/pkg/plugins"
|
|
)
|
|
|
|
type Manager interface {
|
|
// Start executes a backend plugin process.
|
|
Start(ctx context.Context, p *plugins.Plugin) error
|
|
// Stop terminates a backend plugin process.
|
|
Stop(ctx context.Context, p *plugins.Plugin) error
|
|
}
|