Documentation ¶
Index ¶
Constants ¶
View Source
const ValueParameterType = "value"
ValueParameterType specifies the type of the parameter used in config files
Variables ¶
View Source
var ValueParameterSerde = parameter.ParameterSerDe{
Serializer: writeValueParameter,
Deserializer: parseValueParameter,
}
Functions ¶
This section is empty.
Types ¶
type ValueParameter ¶
type ValueParameter struct {
Value interface{}
}
ValueParameter represents a simple value. the value has to be resolve at config load time.
func New ¶
func New(value interface{}) *ValueParameter
func (*ValueParameter) GetReferences ¶
func (p *ValueParameter) GetReferences() []parameter.ParameterReference
func (*ValueParameter) GetType ¶
func (p *ValueParameter) GetType() string
func (*ValueParameter) ResolveValue ¶
func (p *ValueParameter) ResolveValue(_ parameter.ResolveContext) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.