/
githubmirror
/
grafana
Обзор
Документация
Войти
/
githubmirror
/
grafana
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
pkg/server/doc.go
25 строк
1 KB
Michael Mandrus
Extract core Wire graph into bootstrap/wire package (GE standalone step 01) (#128152)
23 июл 2026, 18:00
Не верифицирован
23 июл 2026, 18:00
67857d7
Код
Авторство
О чём код?
// Server defines the main entrypoints to Grafana and the Grafana CLI, as well // as test environments. OSS and Enterprise-specific build tags are used in this // package to control wire dependencies for each build. package server // Notes about wiresets: // // bootstrap/wire contains edition-neutral core provider sets (Basic, Server, CLI, // Test) and OSS injectors. Grafana Enterprise will import bootstrap/wire for the // shared graph in later migration steps. // // wireext contains OSS edition bindings only. It is not imported by Enterprise. // // wire.go contains Enterprise Wire injectors and compatibility aliases for the // overlaid wireexts_enterprise.go extension sets. // // wireexts_enterprise.go contains wiresets used only by Enterprise builds. This // file is located in the grafana-enterprise repo and synced via enterprise-to-oss. // // NOTE WELL: Extension sets can import sets from bootstrap/wire, but bootstrap/wire // cannot include edition-specific wiresets. // // We use go build tags during build to configure which wiresets are used in a // given build. We do not commit generated wire sets (wire_gen.go) into the // repo.