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

Method SetCondition

policy/parser.go:401–403  ·  view source on GitHub ↗

SetCondition sets the CEL condition for the match.

(c ValueString)

Source from the content-addressed store, hash-verified

399
400// SetCondition sets the CEL condition for the match.
401func (m *Match) SetCondition(c ValueString) {
402 m.condition = c
403}
404
405// SetOutput sets the output expression for the match.
406func (m *Match) SetOutput(o ValueString) {

Callers 2

parseMatchInternalMethod · 0.95
MatchTagMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected