This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: https & http/2 support (both h2c and full h2) (#27)
* change metrics we collect-- no changes to how they're used... yet * update zeroscaler algorithm for scale-to-zero decision * copy httputil.ReverseProxy code from Go 1.12 * add packages for implementing advanced proxies * corresponding vendor updates * make metrics-collecting proxy sidecar use dyanmic l4/l7 proxy * make activator use dyanmic l4/l7 proxy * upload coverage reports * update example to use http/1.x, http/2, https, and grpc
- Loading branch information
Showing
57 changed files
with
10,244 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
run: | ||
concurrency: 1 | ||
deadline: 2m | ||
skip-files: | ||
- pkg/net/http/httputil/reverseproxy* | ||
|
||
linters: | ||
disable-all: true | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
package activator | ||
|
||
import ( | ||
"net/http/httputil" | ||
"net/url" | ||
) | ||
|
||
type app struct { | ||
namespace string | ||
serviceName string | ||
deploymentName string | ||
targetURL *url.URL | ||
proxyRequestHandler *httputil.ReverseProxy | ||
namespace string | ||
serviceName string | ||
deploymentName string | ||
targetHost string | ||
targetPort int | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.