MCPcopy
hub / github.com/openfaas/faas / Resolve

Method Resolve

gateway/pkg/middleware/resolver.go:25–25  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

23// BaseURLResolver URL resolver for upstream requests
24type BaseURLResolver interface {
25 Resolve(r *http.Request) string
26 BuildURL(function, namespace, healthPath string, directFunctions bool) string
27}
28

Callers 2

makeRewriteProxyFunction · 0.65

Implementers 2

SingleHostBaseURLResolvergateway/pkg/middleware/resolver.go
FunctionAsHostBaseURLResolvergateway/pkg/middleware/resolver.go

Calls

no outgoing calls

Tested by

no test coverage detected