DatasourceVariableBuilder🔗
Constructor🔗
Methods🔗
Build🔗
Builds the object.
Current🔗
Shows current selected variable text/value on the dashboard
func (builder *DatasourceVariableBuilder) Current(current dashboard.VariableOption) *DatasourceVariableBuilder
Description🔗
Description of variable. It can be defined but null
.
func (builder *DatasourceVariableBuilder) Description(description string) *DatasourceVariableBuilder
Hide🔗
Visibility configuration for the variable
func (builder *DatasourceVariableBuilder) Hide(hide dashboard.VariableHide) *DatasourceVariableBuilder
Label🔗
Optional display name
Multi🔗
Whether multiple values can be selected or not from variable value list
Name🔗
Name of variable
Type🔗
Query used to fetch values for a variable