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

Method AddExcludedFunctions

common/env/env.go:687–690  ·  view source on GitHub ↗

AddExcludedFunctions deny-lists one or more functions from the subset.

(funcs ...*Function)

Source from the content-addressed store, hash-verified

685
686// AddExcludedFunctions deny-lists one or more functions from the subset.
687func (lib *LibrarySubset) AddExcludedFunctions(funcs ...*Function) *LibrarySubset {
688 lib.ExcludeFunctions = append(lib.ExcludeFunctions, funcs...)
689 return lib
690}
691
692// NewValidator returns a named Validator instance.
693func NewValidator(name string) *Validator {

Callers 5

envToStdLibFunction · 0.95
TestEnvFromConfigFunction · 0.80
TestConfigFunction · 0.80
TestSubsetFunctionFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestEnvFromConfigFunction · 0.64
TestConfigFunction · 0.64
TestSubsetFunctionFunction · 0.64