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

Function NewLibrarySubset

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

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

()

Source from the content-addressed store, hash-verified

519
520// NewLibrarySubset returns an empty library subsetting config which permits all library features.
521func NewLibrarySubset() *LibrarySubset {
522 return &LibrarySubset{}
523}
524
525// LibrarySubset indicates a subset of the macros and function supported by a subsettable library.
526type 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