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

Method Name

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

Name returns the unique name of this function format validator.

()

Source from the content-addressed store, hash-verified

288
289// Name returns the unique name of this function format validator.
290func (v formatValidator) Name() string {
291 return fmt.Sprintf("cel.validator.%s", v.funcName)
292}
293
294// ToConfig converts the ASTValidator to an env.Validator specifying the validator name.
295func (v formatValidator) ToConfig() *env.Validator {

Callers 1

ToConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected