cedarConditions

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapCedarConditionToHexa

func MapCedarConditionToHexa(cedarConditions []cedarjson.ConditionJSON) (*conditions.ConditionInfo, error)

Types

type CedarConditionMapper

type CedarConditionMapper struct {
	NameMapper *conditions.AttributeMap
}

func (*CedarConditionMapper) MapConditionToCedar

func (mapper *CedarConditionMapper) MapConditionToCedar(condition *conditions.ConditionInfo) (string, error)

type Expression

type Expression interface {
	String() string
}

type MultiLogicalExpression

type MultiLogicalExpression struct {
	Operator    hexaParser.LogicalOperator
	Expressions []Expression
}

MultiLogicalExpression is used to flatten an inbound IDQL statement in cases where there are ands with more than 2 values

func (*MultiLogicalExpression) String

func (m *MultiLogicalExpression) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL