MCPcopy Create free account
hub / github.com/cel-expr/cel-go / SetCondition

Method SetCondition

policy/parser.go:359–361  ·  view source on GitHub ↗

SetCondition sets the CEL condition for the match.

(c ValueString)

Source from the content-addressed store, hash-verified

357
358// SetCondition sets the CEL condition for the match.
359func (m *Match) SetCondition(c ValueString) {
360 m.condition = c
361}
362
363// SetOutput sets the output expression for the match.
364func (m *Match) SetOutput(o ValueString) {

Callers 2

ParseMatchMethod · 0.95
MatchTagMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected