Versions in this module Expand all Collapse all v0 v0.0.2 Jul 21, 2023 v0.0.1 Jun 6, 2023 Changes in this version + type FieldAttributes struct + AcceptedValues []string + AcceptedValuesErrorMessage string + DefaultValue *string + DependsOn []string + Description string + DisplayName string + EnvVars []string + ExclusionFilter string + ExclusionFilterErrorMessage string + GroupID int + InclusionFilter string + InclusionFilterErrorMessage string + InputType InputType + Name string + Sensitive bool + Tags []string + ValueFromFile bool + type Input interface + Description func() string + DisplayName func() string + Enabled func(evaluate bool, tags ...string) bool + EnabledInputs func(evaluate bool, tags ...string) []Input + Inputs func() []Input + LongDescription func() string + Name func() string + Type func() InputType + type InputCollection struct + func NewInputCollection() *InputCollection + func (ic *InputCollection) Group(name string) *InputGroup + func (ic *InputCollection) Groups() []*InputGroup + func (ic *InputCollection) HasGroup(name string) bool + func (ic *InputCollection) NewGroup(name string, description string) *InputGroup + type InputCursor struct + func NewInputCursor(input *InputGroup, tags ...string) *InputCursor + func NewInputCursorFromCollection(groupName string, collection *InputCollection, tags ...string) (*InputCursor, error) + func (c *InputCursor) GetCurrentInput() (Input, error) + func (c *InputCursor) NextInput() *InputCursor + func (c *InputCursor) SetDefaultInput(name string) (*InputCursor, error) + func (c *InputCursor) SetInput(name, value string) (*InputCursor, error) + type InputField struct + func (f *InputField) AcceptedValues() []string + func (f *InputField) DefaultValue() *string + func (f *InputField) Enabled(evaluate bool, tags ...string) bool + func (f *InputField) EnvVars() []string + func (f *InputField) HasValue() bool + func (f *InputField) InputSet() bool + func (f *InputField) LongDescription() string + func (f *InputField) Optional() bool + func (f *InputField) Sensitive() bool + func (f *InputField) SetAcceptedValues(acceptedValues []string, acceptedValuesErrorMessage string) + func (f *InputField) SetExclusionFilter(exclusionFilter, exclusionFilterErrorMessage string) error + func (f *InputField) SetInclusionFilter(inclusionFilter, inclusionFilterErrorMessage string) error + func (f *InputField) SetInput() + func (f *InputField) SetValue(value *string) error + func (f *InputField) SetValueRef(valueRef interface{}) error + func (f *InputField) Type() InputType + func (f *InputField) Value() *string + func (f *InputField) ValueFromFile() (bool, []string) + type InputForm interface + AddFieldValueHint func(name, hint string) error + BindFields func(target interface{}) error + GetFieldValue func(name string) (*string, error) + GetFieldValueHints func(name string) ([]string, error) + GetInputField func(name string) (*InputField, error) + InputFields func() []*InputField + InputValues func() map[string]string + SetFieldValue func(name string, value string) error + type InputGroup struct + func (g *InputGroup) AddFieldValueHint(name, hint string) error + func (g *InputGroup) BindFields(target interface{}) error + func (g *InputGroup) Description() string + func (g *InputGroup) DisplayName() string + func (g *InputGroup) Enabled(evaluate bool, tags ...string) bool + func (g *InputGroup) EnabledInputs(evaluate bool, tags ...string) []Input + func (g *InputGroup) GetFieldValue(name string) (*string, error) + func (g *InputGroup) GetFieldValueHints(name string) ([]string, error) + func (g *InputGroup) GetInputField(name string) (*InputField, error) + func (g *InputGroup) InputFields() []*InputField + func (g *InputGroup) InputValues() map[string]string + func (g *InputGroup) Inputs() []Input + func (g *InputGroup) LongDescription() string + func (g *InputGroup) Name() string + func (g *InputGroup) NewInputContainer(name, displayName, description string, groupId int) Input + func (g *InputGroup) NewInputField(attributes FieldAttributes) (Input, error) + func (g *InputGroup) SetFieldValue(name string, value string) error + func (g *InputGroup) String() string + func (g *InputGroup) Type() InputType + type InputType int + const Container + const EmailAddress + const FilePath + const HttpUrl + const JsonInput + const Number + const String