-
Notifications
You must be signed in to change notification settings - Fork 141
HTTPS Termination #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
HTTPS Termination #140
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
24664f1
HTTPS Termination
e33be3a
Add nolint for test certs
514c63f
Another nolint
79b1daa
Last nolint
23f91c8
Lint warning fixes
62fdc19
Add event loop config object
365abb3
Const block
209288d
Add listener file to state package
fa85921
Fix secret filepath
8da6df2
Remove ignored namespaces
374a6ec
Fix len comparison
d4bcc0a
Indent if/else/end block in template
e8a5194
rules -> rulesPerHost
643129b
secretCache -> secretStore
1f1bdbf
SecretMemoryManager -> SecretDiskMemoryManager
ed16702
store -> request
5a9c672
Do not use default server secret
57a81dd
Fix test httproute names
64b8222
Don't configure invalid listeners
4b6b9ad
collision -> collisions
bfb6c7b
validateHTTPSListener
8bfd551
Fix up secrets tests and rename WriteAllStoredSecrets to WriteAllRequ…
7c34024
Generate default http server
445974e
HTTPServer -> VirtualServer and HTTPSServers -> SSLServers
3d1d472
Fix missing semicolon
84adfd0
Change ns of gateway in example
623f125
Add gateways to each example
f2b6cbe
Standardize on implementation package and add test suite files
1405fc0
Fix linting error
97a4921
Fix some typos
02fde36
Add FileManager interface to unit test file i/o
6f8a3dc
Move listener tests into listener_test.go
a8e4a54
Remove namespace from example resources
08a84db
Update capacity
d05d2c1
Add fixme
67958f6
Add doc string
2909f0e
Fix typo
9eb07ec
Add fixme for concurrency question
37571b6
Move file i/o tests under secret disk memory manager describe
5070b28
Use impl in tests
57472ba
Rewrite error tests as table
530249e
Fix template spacing
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| package state | ||
|
|
||
| import ( | ||
| "io/fs" | ||
| "io/ioutil" | ||
| "os" | ||
| ) | ||
|
|
||
| type stdLibFileManager struct{} | ||
|
|
||
| func newStdLibFileManager() *stdLibFileManager { | ||
| return &stdLibFileManager{} | ||
| } | ||
|
|
||
| func (s *stdLibFileManager) ReadDir(dirname string) ([]fs.FileInfo, error) { | ||
| return ioutil.ReadDir(dirname) | ||
| } | ||
|
|
||
| func (s *stdLibFileManager) Remove(name string) error { | ||
| return os.Remove(name) | ||
| } | ||
|
|
||
| func (s *stdLibFileManager) Write(file *os.File, contents []byte) error { | ||
| _, err := file.Write(contents) | ||
|
|
||
| return err | ||
| } | ||
|
|
||
| func (s *stdLibFileManager) Create(name string) (*os.File, error) { | ||
| return os.Create(name) | ||
| } | ||
|
|
||
| func (s *stdLibFileManager) Chmod(file *os.File, mode os.FileMode) error { | ||
| return file.Chmod(mode) | ||
| } | ||
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.