Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugger ¶
func Debugger() error
Debugger makes a new debug build, re-launches the plugin and attaches the Delve debugger, in headless mode listening on port 3222.
The plugin process is killed after re-building, in order to make Grafana launch the new version. Once the new version is up, we attach to it with Delve.
func ReloadPlugin ¶ added in v0.37.0
func ReloadPlugin() error
ReloadPlugin - kills any running instances and waits for grafana to reload the plugin
func SetBeforeBuildCallback ¶ added in v0.64.0
func SetBeforeBuildCallback(cb BeforeBuildCallback) error
SetBeforeBuildCallback configures a custom callback
Types ¶
type BeforeBuildCallback ¶ added in v0.64.0
BeforeBuildCallback hooks into the build process
Click to show internal directories.
Click to hide internal directories.