mirror of
https://github.com/openfaas/faas.git
synced 2025-06-19 12:36:40 +00:00
Remove un-used RoutelessProxy
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -3,7 +3,7 @@ services:
|
||||
gateway:
|
||||
ports:
|
||||
- 8080:8080
|
||||
image: openfaas/gateway:0.13.7-rc2
|
||||
image: openfaas/gateway:0.13.7-rc4
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
@ -43,11 +43,13 @@ services:
|
||||
|
||||
# auth service provide basic-auth plugin for system APIs
|
||||
basic-auth-plugin:
|
||||
image: openfaas/basic-auth-plugin:0.1.0
|
||||
image: openfaas/basic-auth-plugin:0.1.1
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
secret_mount_path: "/run/secrets/"
|
||||
user_filename: "basic-auth-user"
|
||||
pass_filename: "basic-auth-password"
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
|
@ -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