Documentation
¶
Index ¶
- Constants
- type Condition
- func (c *Condition) Contains(val interface{}) bool
- func (c *Condition) Equal(val interface{}) bool
- func (c *Condition) IsEmpty(empty bool, val interface{}) bool
- func (c *Condition) Match() bool
- func (c *Condition) NotContains(val interface{}) bool
- func (c *Condition) NotEqual(val interface{}) bool
- func (c *Condition) Validate() []error
- type DependsOn
- type FieldKey
- type Group
- type Interface
- type Parameter
Constants ¶
View Source
const ( TypeBoolean = "boolean" TypeInteger = "integer" TypeList = "list" TypeMultiList = "multi_list" TypeString = "string" TypeSecret = "secret" TypeText = "text" )
View Source
const UnknownGroup = "unknown"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct { ParameterName string `yaml:"parameter_name" json:"parameter_name" mapstructure:"parameter_name"` ValueEmpty *bool `yaml:"value_empty" json:"value_empty" mapstructure:"value_empty"` ValueEquals interface{} `yaml:"value_equals" json:"value_equals" mapstructure:"value_equals"` ValueNotEquals interface{} `yaml:"value_not_equals" json:"value_not_equals" mapstructure:"value_not_equals"` ValueContains interface{} `yaml:"value_contains" json:"value_contains" mapstructure:"value_contains"` ValueNotContains interface{} `yaml:"value_not_contains" json:"value_not_contains" mapstructure:"value_not_contains"` // contains filtered or unexported fields }
func (*Condition) NotContains ¶
type Group ¶
type Group struct { Name string `yaml:"name" json:"name" mapstructure:"name"` DependsOn DependsOn `yaml:"depends_on" json:"depends_on" mapstructure:"depends_on"` }
type Parameter ¶
type Parameter struct { huh.Field `mapstructure:"-"` Name string `yaml:"name" json:"name" mapstructure:"name"` Group string `yaml:"group" json:"group" mapstructure:"group"` Label string `yaml:"label" json:"label" mapstructure:"label"` Description string `yaml:"description" json:"description" mapstructure:"description"` Type string `yaml:"type" json:"type" mapstructure:"type"` DependsOn DependsOn `yaml:"depends_on" json:"depends_on" mapstructure:"depends_on"` }
Click to show internal directories.
Click to hide internal directories.