Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interval ¶
type Interval struct {
Builder sdk.TemplateVar
}
Interval represents a "interval" templated variable.
type Option ¶
type Option func(interval *Interval)
Option represents an option that can be used to configure an interval.
func HideLabel ¶
func HideLabel() Option
HideLabel ensures that this variable's label will not be displayed.
func Values ¶
func Values(values ValuesList) Option
Values sets the possible values for the variable.
type ValuesList ¶
type ValuesList []string
ValuesList represent a list of options for an interval variable.
Click to show internal directories.
Click to hide internal directories.