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

Function ValidateBindNestingLimit

cel/validator.go:254–256  ·  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

252//
253// This validator can be useful for preventing arbitrarily nested cel.bind() macro calls.
254func ValidateBindNestingLimit(limit int) ASTValidator {
255 return bindNestingLimitValidator{limit: limit}
256}
257
258// ValidateRegexProgramSizeLimit ensures that regex pattern literals do not exceed the specified regex program size limit.
259func ValidateRegexProgramSizeLimit(limit int) ASTValidator {

Callers 3

validator.goFile · 0.85
TestEnvToConfigFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestEnvToConfigFunction · 0.68