NewContextVariable returns a serializable context variable with a specific type name.
(typeName string)
| 315 | |
| 316 | // NewContextVariable returns a serializable context variable with a specific type name. |
| 317 | func NewContextVariable(typeName string) *ContextVariable { |
| 318 | return &ContextVariable{TypeName: typeName} |
| 319 | } |
| 320 | |
| 321 | // ContextVariable represents a structured message whose fields are to be treated as the top-level |
| 322 | // variable identifiers within CEL expressions. |
no outgoing calls