Skip to content

prometheus🔗

Objects🔗

Builders🔗

Functions🔗

NewDataquery🔗

NewDataquery creates a new Dataquery object.

func NewDataquery() *Dataquery

NewPrometheusDataqueryScope🔗

NewPrometheusDataqueryScope creates a new PrometheusDataqueryScope object.

func NewPrometheusDataqueryScope() *PrometheusDataqueryScope

VariantConfig🔗

VariantConfig returns the configuration related to prometheus dataqueries.

This configuration describes how to unmarshal it, convert it to code, …

func VariantConfig() variants.DataqueryConfig

DataqueryConverter🔗

DataqueryConverter accepts a Dataquery object and generates the Go code to build this object using builders.

func DataqueryConverter(input Dataquery) string

PrometheusDataqueryScopeConverter🔗

PrometheusDataqueryScopeConverter accepts a PrometheusDataqueryScope object and generates the Go code to build this object using builders.

func PrometheusDataqueryScopeConverter(input PrometheusDataqueryScope) string