oauth2-proxy/pkg/validation
yanasega 42475c28f7
Multiple providers in alpha config (#947)
* Initial commit of multiple provider logic:
1. Created new provider options.
2. Created legacy provider options and conversion options.
3. Added Providers to alpha Options.
4. Started Validation migration of multiple providers
5. Tests.

* fixed lint issues

* additional lint fixes

* Nits and alterations based on CR: manliy splitting large providers validation function and adding comments to provider options

* fixed typo

* removed weird : file

* small CR changes

* Removed GoogleGroups validation due to new allowed-groups (including tests). Added line in CHANGELOG

* Update pkg/apis/options/providers.go

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>

* Update pkg/apis/options/providers.go

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>

* Update pkg/apis/options/providers.go

Co-authored-by: Nick Meves <nick.meves@greenhouse.io>

* Initial commit of multiple provider logic:
1. Created new provider options.
2. Created legacy provider options and conversion options.
3. Added Providers to alpha Options.
4. Started Validation migration of multiple providers
5. Tests.

* fixed lint issues

* additional lint fixes

* Nits and alterations based on CR: manliy splitting large providers validation function and adding comments to provider options

* small CR changes

* auto generates alpha_config.md

* rebase (mainly service alpha options related conflicts)

* removed :

* Nits and alterations based on CR: manliy splitting large providers validation function and adding comments to provider options

* small CR changes

* Removed GoogleGroups validation due to new allowed-groups (including tests). Added line in CHANGELOG

* "cntd. rebase"

* ran make generate again

* last conflicts

* removed duplicate client id validation

* 1. Removed provider prefixes
2. altered optionsWithNilProvider logic
3. altered default provider logic
4. moved change in CHANELOG to 7.0.0

* fixed TestGoogleGroupOptions test

* ran make generate

* moved CHANGLOG line to 7.1.1

* moved changelog comment to 7.1.2 (additional rebase)

Co-authored-by: Yana Segal <yana.segal@nielsen.com>
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
Co-authored-by: Nick Meves <nick.meves@greenhouse.io>
2021-04-03 17:06:30 +01:00
..
allowlist.go Improve AllowedRoute test table formatting 2020-10-07 10:13:41 -07:00
allowlist_test.go Improve AllowedRoute test table formatting 2020-10-07 10:13:41 -07:00
common.go SecretSource.Value should be plain text in memory 2020-12-01 08:56:46 +00:00
common_test.go SecretSource.Value should be plain text in memory 2020-12-01 08:56:46 +00:00
cookie.go Fix import path for v7 (#800) 2020-09-29 17:44:42 +01:00
cookie_test.go Fix import path for v7 (#800) 2020-09-29 17:44:42 +01:00
header.go Add validation for Headers struct 2020-11-07 17:16:54 +00:00
header_test.go SecretSource.Value should be plain text in memory 2020-12-01 08:56:46 +00:00
logging.go Fix import path for v7 (#800) 2020-09-29 17:44:42 +01:00
options.go Multiple providers in alpha config (#947) 2021-04-03 17:06:30 +01:00
options_test.go Multiple providers in alpha config (#947) 2021-04-03 17:06:30 +01:00
providers.go Multiple providers in alpha config (#947) 2021-04-03 17:06:30 +01:00
providers_test.go Multiple providers in alpha config (#947) 2021-04-03 17:06:30 +01:00
sessions.go Integrate new header injectors with OAuth2 Proxy 2020-11-07 17:16:58 +00:00
sessions_test.go Integrate new header injectors with OAuth2 Proxy 2020-11-07 17:16:58 +00:00
upstreams.go Add DefaultUpstreamFlushInterval to replace magic time.Second value 2020-11-19 10:39:21 +00:00
upstreams_test.go Introduce Duration so that marshalling works for duration strings 2020-11-19 10:35:29 +00:00
utils.go Add validation for Headers struct 2020-11-07 17:16:54 +00:00
validation_suite_test.go Ensure errors in tests are logged to the GinkgoWriter 2021-02-10 19:50:04 +00:00