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

Method SetRule

policy/parser.go:374–376  ·  view source on GitHub ↗

SetRule sets the rule for the match.

(r *Rule)

Source from the content-addressed store, hash-verified

372
373// SetRule sets the rule for the match.
374func (m *Match) SetRule(r *Rule) {
375 m.rule = r
376}
377
378// ValueString contains an identifier corresponding to source metadata and a simple string.
379type ValueString struct {

Callers 2

ParseMatchMethod · 0.95
PolicyTagMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected