CustomVariableBuilder🔗
Constructor🔗
Methods🔗
Build🔗
Builds the object.
AllValue🔗
Custom all value
Current🔗
Shows current selected variable text/value on the dashboard
func (builder *CustomVariableBuilder) Current(current dashboard.VariableOption) *CustomVariableBuilder
Description🔗
Description of variable. It can be defined but null
.
Hide🔗
Visibility configuration for the variable
IncludeAll🔗
Whether all value option is available or not
Label🔗
Optional display name
Multi🔗
Whether multiple values can be selected or not from variable value list
Name🔗
Name of variable
Options🔗
Options that can be selected for a variable.
func (builder *CustomVariableBuilder) Options(options []dashboard.VariableOption) *CustomVariableBuilder
Values🔗
Query used to fetch values for a variable