Documentation ¶
Index ¶
- Variables
- func Equality(attribute interface{}, expectedValue cty.Value) (bool, ports.InvalidAttribute, error)
- func Inclusion(attribute interface{}, expectedValue cty.Value) (bool, ports.InvalidAttribute, error)
- func InferiorOrEqual(attribute interface{}, expectedValue cty.Value) (bool, ports.InvalidAttribute, error)
- func InferiorStrict(attribute interface{}, expectedValue cty.Value) (bool, ports.InvalidAttribute, error)
- func NotInclusion(attribute interface{}, expectedValue cty.Value) (bool, ports.InvalidAttribute, error)
- func RegexMatch(attribute interface{}, expectedExpression cty.Value) (bool, ports.InvalidAttribute, error)
- func SuperiorOrEqual(attribute interface{}, expectedValue cty.Value) (bool, ports.InvalidAttribute, error)
- func SuperiorStrict(attribute interface{}, expectedValue cty.Value) (bool, ports.InvalidAttribute, error)
- type AttributeError
- type Condition
Constants ¶
This section is empty.
Variables ¶
View Source
var OperatorMap = map[string]func(interface{}, cty.Value) (bool, ports.InvalidAttribute, error){ "=": Equality, ">": SuperiorStrict, ">=": SuperiorOrEqual, "<": InferiorStrict, "<=": InferiorOrEqual, "re": RegexMatch, "in": Inclusion, "not in": NotInclusion, }
Functions ¶
func InferiorOrEqual ¶
func InferiorStrict ¶
func NotInclusion ¶
func RegexMatch ¶
func SuperiorOrEqual ¶
func SuperiorStrict ¶
Types ¶
type AttributeError ¶
type AttributeError struct { ExpectedAttribute interface{} ReceivedAttribute interface{} }
func (AttributeError) Error ¶
func (a AttributeError) Error() string
Click to show internal directories.
Click to hide internal directories.