Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datasource ¶
type Datasource struct {
Builder sdk.TemplateVar
}
Datasource represents a "datasource" templated variable.
func New ¶
func New(name string, options ...Option) *Datasource
New creates a new "query" templated variable.
type Option ¶
type Option func(constant *Datasource)
Option represents an option that can be used to configure a query.
func HideLabel ¶
func HideLabel() Option
HideLabel ensures that this variable's label will not be displayed.
func IncludeAll ¶
func IncludeAll() Option
IncludeAll adds an option to allow all values to be selected.
Click to show internal directories.
Click to hide internal directories.