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

Function ValidateBindNestingLimit

cel/validator.go:264–266  ·  view source on GitHub ↗

ValidateBindNestingLimit ensures that cel.bind() macro nesting does not exceed the specified limit. This validator can be useful for preventing arbitrarily nested cel.bind() macro calls.

(limit int)

Source from the content-addressed store, hash-verified

262//
263// This validator can be useful for preventing arbitrarily nested cel.bind() macro calls.
264func ValidateBindNestingLimit(limit int) ASTValidator {
265 return bindNestingLimitValidator{limit: limit}
266}
267
268// ValidateRegexProgramSizeLimit ensures that regex pattern literals do not exceed the specified regex program size limit.
269func ValidateRegexProgramSizeLimit(limit int) ASTValidator {

Callers 3

TestEnvToConfigFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestEnvToConfigFunction · 0.68