mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 12:32:43 +08:00
Plugins: Plugins loader pipeline (#71438)
* discovery * flesh out * add docs * remove unused func * bootstrap stage * fix docs * update docs * undo unnecessary changes * add end tag * update doc * fix linter * fix * tidy * update docs * add class to filter func * apply PR feedback * fix test
This commit is contained in:
11
pkg/plugins/manager/pipeline/doc.go
Normal file
11
pkg/plugins/manager/pipeline/doc.go
Normal file
@ -0,0 +1,11 @@
|
||||
// Package pipeline defines a load pipeline for Grafana plugins.
|
||||
//
|
||||
// A pipeline is a sequence of stages that are executed in order. Each stage is made up of a series of steps.
|
||||
// A plugin loader pipeline is defined by the following stages:
|
||||
// Discovery: Find plugins (e.g. from disk, remote, etc.), and [optionally] filter the results based on some criteria.
|
||||
// Bootstrap: Create the plugins found in the discovery stage and enrich them with metadata.
|
||||
// Verification: Verify the plugins based on some criteria (e.g. signature validation, angular detection, etc.)
|
||||
// Initialization: Initialize the plugin for use (e.g. register with Grafana, etc.)
|
||||
// Post-Initialization: Perform any post-initialization tasks (e.g. start the backend process, declare RBAC roles etc.)
|
||||
|
||||
package pipeline
|
Reference in New Issue
Block a user