list

package
v2.17.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ListParameterType = "list"

ListParameterType specifies the type of the parameter used in config files

Variables

View Source
var ListParameterSerde = parameter.ParameterSerDe{
	Serializer:   writeListParameter,
	Deserializer: parseListParameter,
}

Functions

This section is empty.

Types

type ListParameter

type ListParameter struct {
	Values []value.ValueParameter // TODO(CA-1517): allow for parameter.Parameter
}

ListParameter represents a simple list of string values.

func New

func New(values []value.ValueParameter) *ListParameter

func (*ListParameter) GetReferences

func (p *ListParameter) GetReferences() []parameter.ParameterReference

func (*ListParameter) GetType

func (p *ListParameter) GetType() string

func (*ListParameter) ResolveValue

func (p *ListParameter) ResolveValue(c parameter.ResolveContext) (interface{}, error)

Jump to

Keyboard shortcuts

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