Documentation ¶
Index ¶
- type Condition
- func (erec *Condition) MarshalHCL(properties hcl.Properties) error
- func (erec *Condition) MarshalJSON() ([]byte, error)
- func (erec *Condition) Schema() map[string]*schema.Schema
- func (erec *Condition) UnmarshalHCL(decoder hcl.Decoder) error
- func (erec *Condition) UnmarshalJSON(data []byte) error
- func (erec *Condition) Validate() []string
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct { ComparisonInfo comparison.Comparison `json:"comparisonInfo"` // Defines how the matching is actually performed: what and how are we comparing. The actual set of fields and possible values of the **operator** field depend on the **type** of the comparison. \n\nFind the list of actual models in the description of the **type** field and check the description of the model you need. Key condition.Key `json:"key"` // The key to identify the data we're matching. The actual set of fields and possible values vary, depending on the **type** of the key. Find the list of actual objects in the description of the **type** field. Unknowns map[string]json.RawMessage `json:"-"` }
Condition A condition defines how to execute matching logic for an entity.
func (*Condition) MarshalHCL ¶
func (erec *Condition) MarshalHCL(properties hcl.Properties) error
func (*Condition) MarshalJSON ¶
func (*Condition) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.