mirror of
https://github.com/openfaas/faas.git
synced 2025-06-24 07:43:25 +00:00
Remove un-used RoutelessProxy
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -95,7 +95,6 @@ func main() {
|
||||
|
||||
faasHandlers.Proxy = handlers.MakeForwardingProxyHandler(reverseProxy, functionNotifiers, functionURLResolver, functionURLTransformer, nil)
|
||||
|
||||
faasHandlers.RoutelessProxy = handlers.MakeForwardingProxyHandler(reverseProxy, forwardingNotifiers, urlResolver, nilURLTransformer, serviceAuthInjector)
|
||||
faasHandlers.ListFunctions = handlers.MakeForwardingProxyHandler(reverseProxy, forwardingNotifiers, urlResolver, nilURLTransformer, serviceAuthInjector)
|
||||
faasHandlers.DeployFunction = handlers.MakeForwardingProxyHandler(reverseProxy, forwardingNotifiers, urlResolver, nilURLTransformer, serviceAuthInjector)
|
||||
faasHandlers.DeleteFunction = handlers.MakeForwardingProxyHandler(reverseProxy, forwardingNotifiers, urlResolver, nilURLTransformer, serviceAuthInjector)
|
||||
|
@ -4,12 +4,14 @@ import "net/http"
|
||||
|
||||
// HandlerSet can be initialized with handlers for binding to mux
|
||||
type HandlerSet struct {
|
||||
Proxy http.HandlerFunc
|
||||
// Proxy invokes functions upstream
|
||||
Proxy http.HandlerFunc
|
||||
|
||||
DeployFunction http.HandlerFunc
|
||||
DeleteFunction http.HandlerFunc
|
||||
ListFunctions http.HandlerFunc
|
||||
Alert http.HandlerFunc
|
||||
RoutelessProxy http.HandlerFunc
|
||||
|
||||
UpdateFunction http.HandlerFunc
|
||||
|
||||
// QueryFunction - queries the metdata for a function
|
||||
|
Reference in New Issue
Block a user