Documentation ¶
Index ¶
Constants ¶
View Source
const ConditionOperatorEqual = ConditionOperator("Equal")
ConditionOperatorEqual Equal.
View Source
const ConditionOperatorNotEqual = ConditionOperator("NotEqual")
ConditionOperatorNotEqual Not Equal.
View Source
const RuleActionAdd = ActionType("add")
RuleActionAdd Rule Action Add.
View Source
const RuleActionDelete = ActionType("delete")
RuleActionDelete Rule Action Delete.
Variables ¶
View Source
var ErrCannotStringifyAvailableTagValues = errors.New("error cannot transform to string available tag values")
ErrCannotStringifyAvailableTagValues Cannot stringify available tag values.
View Source
var ErrRuleActionNotSupported = errors.New("rule action not supported")
ErrRuleActionNotSupported Rule action not supported.
View Source
var ErrRuleConditionOperatorNotSupported = errors.New("condition operator not supported")
ErrRuleConditionOperatorNotSupported Rule condition operator not supported.
View Source
var ErrRuleEmptyTag = errors.New("tag rule mustn't be empty")
ErrRuleEmptyTag Err Rule Empty Tag.
View Source
var ErrRuleEmptyWhenCondition = errors.New("when condition mustn't be empty")
ErrRuleEmptyWhenCondition Error when "when condition" is empty.
View Source
var ErrRuleQueryAndValueEmptyForAddCase = errors.New("query and value mustn't be empty for add case")
ErrRuleQueryAndValueEmptyForAddCase Err Rule Query and Value empty for Add case.
View Source
var ErrRuleQueryAndValuePopulatedForAddCase = errors.New("query and value cannot be populated at the same time in add case")
ErrRuleQueryAndValuePopulatedForAddCase Err Rule query and value populated for Add case.
Functions ¶
Types ¶
type Condition ¶
type Condition struct { Condition string Value string Operator ConditionOperator }
Condition condition.
Click to show internal directories.
Click to hide internal directories.