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

Method SetRule

policy/parser.go:416–418  ·  view source on GitHub ↗

SetRule sets the rule for the match.

(r *Rule)

Source from the content-addressed store, hash-verified

414
415// SetRule sets the rule for the match.
416func (m *Match) SetRule(r *Rule) {
417 m.rule = r
418}
419
420// ValueString contains an identifier corresponding to source metadata and a simple string.
421type ValueString struct {

Callers 2

parseMatchInternalMethod · 0.95
PolicyTagMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected