Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DefaultValue ¶
func (*DefaultValue) MarshalJSON ¶
func (v *DefaultValue) MarshalJSON() ([]byte, error)
func (*DefaultValue) MarshalYAML ¶
func (v *DefaultValue) MarshalYAML() (interface{}, error)
func (*DefaultValue) UnmarshalJSON ¶
func (v *DefaultValue) UnmarshalJSON(data []byte) error
func (*DefaultValue) UnmarshalYAML ¶
func (v *DefaultValue) UnmarshalYAML(unmarshal func(interface{}) error) error
type ListSpec ¶
type ListSpec struct {
Display *Display `json:"display,omitempty" yaml:"display,omitempty"`
DefaultValue *DefaultValue `json:"defaultValue,omitempty" yaml:"defaultValue,omitempty"`
AllowAllValue bool `json:"allowAllValue" yaml:"allowAllValue"`
AllowMultiple bool `json:"allowMultiple" yaml:"allowMultiple"`
// CustomAllValue is a custom value that will be used if AllowAllValue is true and if then `all` is selected
CustomAllValue string `json:"customAllValue,omitempty" yaml:"customAllValue,omitempty"`
// CapturingRegexp is the regexp used to catch and filter the result of the query.
// If empty, then nothing is filtered. That's the equivalent of setting CapturingRegexp with (.*)
CapturingRegexp string `json:"capturingRegexp,omitempty" yaml:"capturingRegexp,omitempty"`
Plugin common.Plugin `json:"plugin" yaml:"plugin"`
}
Click to show internal directories.
Click to hide internal directories.