Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureToggles ¶
type FeatureToggles interface { // IsEnabled returns true if the provided feature flag is set. IsEnabled(flag string) bool }
FeatureToggles can check if feature toggles are enabled on the Grafana instance.
var DefaultFeatureToggles FeatureToggles = newFeatureTogglesFromEnv()
DefaultFeatureToggles is the default feature toggles implementation. It contains the same feature toggles as the Grafana instance where the plugin is running.
Click to show internal directories.
Click to hide internal directories.