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

Method Name

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

Name returns the unique name of this function format validator.

()

Source from the content-addressed store, hash-verified

250
251// Name returns the unique name of this function format validator.
252func (v formatValidator) Name() string {
253 return fmt.Sprintf("cel.validator.%s", v.funcName)
254}
255
256// ToConfig converts the ASTValidator to an env.Validator specifying the validator name.
257func (v formatValidator) ToConfig() *env.Validator {

Callers 1

ToConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected