 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArgumentsAsCelEnv ¶ added in v0.5.0
ArgumentsAsCelEnv converts a map of attributes to a CEL environment. It iterates through the map, retrieves the CEL type for each attribute, and appends it to an array of CEL environment options.
func ConvertProtoAnyToInterface ¶ added in v0.5.0
ConvertProtoAnyToInterface unmarshal a proto Any message into its specific type based on its TypeUrl. It returns the data contained in the proto message as an interface{}. In case of an error during unmarshalling or an unrecognized TypeUrl, it returns a default value.
func GetCelType ¶ added in v0.5.0
func GetCelType(attributeType base.AttributeType) (*types.Type, error)
GetCelType maps a base.AttributeType to its equivalent CEL type. Returns an error if the attribute type is not recognized.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.