grafana/pkg/codegen
sam boyer ced53a8dc2
plugins: Introduce generated, static core plugin registry (#54118)
* Refactor towards template/codegen framework

* Add templates for plugin gen

* Add Go codegen for plugins; overhaul framework, too

* Add new codegen output; assorted framework fixes

* Regenerate after merge

* Remove accidental commit file, update templates

* Export the pfs.Tree loader from plugin types

* Print details from cuetsy errors

* Generate loaders for all plugins and list in registry

* Use pfs_gen.go over lineage_gen.go

* Un-un-ignore main file

* Introduce simple List static registry for plugins

* Last tweaks to codegen

* remove unused tvars

* Ensure loop-local instances for both vars

* Generate pfs parsing in-place in registry

* Stop generating pfs_gen.go

* Move Tree into pfs, rename subdir

* Change package name to match dir

* Ignore gocyclo on HTTPServer.getNavTree
2022-09-14 10:15:09 -04:00
..
tmpl plugins: Introduce generated, static core plugin registry (#54118) 2022-09-14 10:15:09 -04:00
coremodel.go plugins: Introduce generated, static core plugin registry (#54118) 2022-09-14 10:15:09 -04:00
diffwrite.go schema: Generate Go and Typescript from Thema coremodels (#49193) 2022-05-27 03:21:37 +02:00
pluggen.go plugins: Introduce generated, static core plugin registry (#54118) 2022-09-14 10:15:09 -04:00
tmpl.go plugins: Introduce generated, static core plugin registry (#54118) 2022-09-14 10:15:09 -04:00
util_go.go plugins: Introduce generated, static core plugin registry (#54118) 2022-09-14 10:15:09 -04:00