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

Function NewLibrarySubset

common/env/env.go:523–525  ·  view source on GitHub ↗

NewLibrarySubset returns an empty library subsetting config which permits all library features.

()

Source from the content-addressed store, hash-verified

521
522// NewLibrarySubset returns an empty library subsetting config which permits all library features.
523func NewLibrarySubset() *LibrarySubset {
524 return &LibrarySubset{}
525}
526
527// LibrarySubset indicates a subset of the macros and function supported by a subsettable library.
528type LibrarySubset struct {

Callers 13

envToStdLibFunction · 0.92
ToConfigMethod · 0.92
TestEnvToConfigFunction · 0.92
TestEnvFromConfigFunction · 0.92
TestEnvFromConfigErrorsFunction · 0.92
TestSubsetStdLibErrorFunction · 0.92
TestSubsetStdLibMergeFunction · 0.92
TestConfigFunction · 0.85
TestConfigValidateErrorsFunction · 0.85
TestSubsetFunctionFunction · 0.85

Calls

no outgoing calls

Tested by 11

TestEnvToConfigFunction · 0.74
TestEnvFromConfigFunction · 0.74
TestEnvFromConfigErrorsFunction · 0.74
TestSubsetStdLibErrorFunction · 0.74
TestSubsetStdLibMergeFunction · 0.74
TestConfigFunction · 0.68
TestConfigValidateErrorsFunction · 0.68
TestSubsetFunctionFunction · 0.68
TestSubsetMacroFunction · 0.68