Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CelValueToGo ¶
CelValueToGo recursively converts a CEL ref.Val to a native Go value. This handles maps, lists, and primitive types.
func GoToCelValue ¶
GoToCelValue converts a native Go value to a CEL ref.Val. This uses the default type adapter to ensure proper conversion.
func ListToObjectSlice ¶
ListToObjectSlice converts a CEL list of maps to a Go slice of map[string]any. Returns an error if the list contains non-map elements or if any map has non-string keys.
func ListToStringSlice ¶
ListToStringSlice converts a CEL list to a Go string slice. Returns an error if the list contains non-string elements.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.