listvariable

package
v0.52.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 4 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(options ...Option) variable.Option

Types

type Builder

type Builder struct {
	ListVariableSpec dashboard.ListVariableSpec `json:",inline" yaml:",inline"`
	Filters          []v1.Variable              `json:"-" yaml:"-"`
}

type Option

type Option func(listVariableSpec *Builder) error

func AllowAllValue

func AllowAllValue(isAllValueAllowed bool) Option

func AllowMultiple

func AllowMultiple(isMultipleValuesAllowed bool) Option

func CapturingRegexp

func CapturingRegexp(regexp string) Option

func CustomAllValue

func CustomAllValue(value string) Option

func DefaultValue

func DefaultValue(value string) Option

func DefaultValues

func DefaultValues(values ...string) Option

func Description

func Description(description string) Option

func DisplayName

func DisplayName(displayName string) Option

func Filter

func Filter(variables ...v1.Variable) Option

func Hidden

func Hidden(isHidden bool) Option

func SortingBy

func SortingBy(sort variable.Sort) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL