mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 09:12:56 +08:00
Plugins: Add inititialization stage to plugin loader pipeline (#72667)
* first pass * migrate tests * simplify * fix comments * fix linter * nil checks * remove comment
This commit is contained in:
6
pkg/plugins/manager/pipeline/initialization/doc.go
Normal file
6
pkg/plugins/manager/pipeline/initialization/doc.go
Normal file
@ -0,0 +1,6 @@
|
||||
// Package initialization defines the fourth stage of the plugin loader pipeline.
|
||||
//
|
||||
// The Initialization stage must implement the Initializer interface.
|
||||
// - Initialize(ctx context.Context, ps []*plugins.Plugin) ([]*plugins.Plugin, error)
|
||||
|
||||
package initialization
|
Reference in New Issue
Block a user