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

Method Condition

policy/parser.go:318–320  ·  view source on GitHub ↗

Condition returns the condition CEL expression.

()

Source from the content-addressed store, hash-verified

316
317// Condition returns the condition CEL expression.
318func (m *Match) Condition() ValueString {
319 return m.condition
320}
321
322// HasOutput indicates whether the output field is set of the match.
323func (m *Match) HasOutput() bool {

Callers 3

exprLinesFromPolicyFunction · 0.45
recoverOriginalSourceFunction · 0.45
optimizeRuleMethod · 0.45

Calls

no outgoing calls

Tested by 1

exprLinesFromPolicyFunction · 0.36