# Functions
Descriptions returns a formatted string of collated descriptions of each type.
New creates a condition type based on a condition configuration.
NewAnd returns an And condition.
NewAndConfig returns a AndConfig with default values.
NewConfig returns a configuration struct fully populated with default values.
NewCount returns a Count processor.
NewCountConfig returns a CountConfig with default values.
NewJMESPath returns a JMESPath condition.
NewJMESPathConfig returns a JMESPathConfig with default values.
NewMetadata returns a Metadata condition.
NewMetadataConfig returns a MetadataConfig with default values.
NewNot returns a Not processor.
NewNotConfig returns a NotConfig with default values.
NewOr returns an Or processor.
NewOrConfig returns a OrConfig with default values.
NewResource returns a resource condition.
NewStatic returns a Static condition.
NewText returns a Text condition.
NewTextConfig returns a TextConfig with default values.
NewXor returns an Xor processor.
NewXorConfig returns a XorConfig with default values.
SanitiseConfig returns a sanitised version of the Config, meaning sections that aren't relevant to behaviour are removed.
# Variables
Constructors is a map of all condition types with their specs.
Errors for the metadata condition.
Errors for the text condition.
String constants representing each condition type.
String constants representing each condition type.
String constants representing each condition type.
String constants representing each condition type.
String constants representing each condition type.
String constants representing each condition type.
String constants representing each condition type.
String constants representing each condition type.
String constants representing each condition type.
String constants representing each condition type.
# Structs
And is a condition that returns the logical AND of all children.
Config is the all encompassing configuration struct for all condition types.
Count is a condition that counts each message and returns false once a target count has been reached, at which point it resets the counter and starts again.
CountConfig is a configuration struct containing fields for the Count condition.
JMESPath is a condition that checks message against a jmespath query.
JMESPathConfig is a configuration struct containing fields for the jmespath condition.
Metadata is a condition that checks message text against logical operators.
MetadataConfig is a configuration struct containing fields for the metadata condition.
Not is a condition that returns the opposite of a child condition.
NotConfig is a configuration struct containing fields for the Not condition.
Or is a condition that returns the logical or of all children.
Resource is a condition that returns the result of a condition resource.
Static is a condition that always returns a static boolean value.
Text is a condition that checks message text against logical operators.
TextConfig is a configuration struct containing fields for the text condition.
TypeSpec Constructor and a usage description for each condition type.
Xor is a condition that returns the logical xor of all children.
# Interfaces
Type reads a message, calculates a condition and returns a boolean.