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 Display ¶
type Display struct {
Name string `json:"name" yaml:"name"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Hidden bool `json:"hidden" yaml:"hidden"`
}
func (*Display) UnmarshalJSON ¶
func (*Display) UnmarshalYAML ¶
type ListSpec ¶
type ListSpec struct {
Display *Display `json:"display,omitempty" yaml:"display,omitempty"`
DefaultValue *DefaultValue `json:"default_value,omitempty" yaml:"default_value,omitempty"`
AllowAllValue bool `json:"allow_all_value" yaml:"allow_all_value"`
AllowMultiple bool `json:"allow_multiple" yaml:"allow_multiple"`
// CustomAllValue is a custom value that will be used if AllowAllValue is true and if then `all` is selected
CustomAllValue string `json:"custom_all_value,omitempty" yaml:"custom_all_value,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:"capturing_regexp,omitempty" yaml:"capturing_regexp,omitempty"`
Plugin common.Plugin `json:"plugin" yaml:"plugin"`
}
Click to show internal directories.
Click to hide internal directories.