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

Method Validate

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

Validate validates a given Ast within an Environment and collects a set of potential issues. The ValidatorConfig is generated from the set of ASTValidatorConfigurer instances prior to the invocation of the Validate call. The expectation is that the validator configuration is created in sequence and

(*Env, ValidatorConfig, *ast.AST, *Issues)

Source from the content-addressed store, hash-verified

110 // See individual validators for more information on their configuration keys and configuration
111 // properties.
112 Validate(*Env, ValidatorConfig, *ast.AST, *Issues)
113}
114
115// ConfigurableASTValidator supports conversion of an object to an `env.Validator` instance used for

Callers 13

CheckMethod · 0.65
FromConfigFunction · 0.65
CompileOptionsMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
ValidateMethod · 0.65
TestConfigFunction · 0.65
TestConfigValidateErrorsFunction · 0.65
TestValidatorValidateFunction · 0.65

Implementers 8

stringFormatValidatorV2ext/formatting_v2.go
stringFormatValidatorext/formatting.go
formatValidatorcel/validator.go
nestingLimitValidatorcel/validator.go
returnTypeValidatorcel/env_test.go

Calls

no outgoing calls

Tested by 5

TestConfigFunction · 0.52
TestConfigValidateErrorsFunction · 0.52
TestValidatorValidateFunction · 0.52
TestFeatureValidateFunction · 0.52