MCPcopy
hub / github.com/caddyserver/caddy / ConvertToNative

Method ConvertToNative

modules/caddyhttp/celmatcher.go:326–328  ·  view source on GitHub ↗
(typeDesc reflect.Type)

Source from the content-addressed store, hash-verified

324type celPkixName struct{ *pkix.Name }
325
326func (pn celPkixName) ConvertToNative(typeDesc reflect.Type) (any, error) {
327 return pn.Name, nil
328}
329
330func (pn celPkixName) ConvertToType(typeVal ref.Type) ref.Val {
331 if typeVal.TypeName() == "string" {

Callers 9

CELLibraryMethod · 0.45
CELLibraryMethod · 0.45
CELLibraryMethod · 0.45
CELLibraryMethod · 0.45
CELLibraryMethod · 0.45
CELLibraryMethod · 0.45
CELLibraryMethod · 0.45
CELValueToMapStrListFunction · 0.45
CELLibraryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected