Documentation
¶
Index ¶
Constants ¶
View Source
const ToOCIFunctionName = "toOCI"
Variables ¶
This section is empty.
Functions ¶
func BindingToOCI ¶
BindingToOCI is the implementation of the toOCI function. It accepts a CEL value (string or map[string]any) representing an OCI image reference, parses it into host, repository, tag, and digest components, and returns a lazy map of those components as strings. If the input is:
- string: the entire value is treated as the reference string
- map[string]any: must contain an "imageReference" key with a string value
The function returns an error if parsing fails or the map is malformed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.