ContainerImage.Pinniped/internal
Andrew Keesler 62c117421a
internal/kubeclient: fix not found test and request body closing bug
- I realized that the hardcoded fakekubeapi 404 not found response was invalid,
  so we were getting a default error message. I fixed it so the tests follow a
  higher fidelity code path.
- I caved and added a test for making sure the request body was always closed,
  and believe it or not, we were double closing a body. I don't *think* this will
  matter in production, since client-go will pass us ioutil.NopReader()'s, but
  at least we know now.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-02-03 08:19:34 -05:00
..
certauthority Add a CA.Pool() method to ./internal/certauthority. 2020-12-02 15:55:34 -06:00
concierge Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
config Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
constable Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
controller Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
controllerlib Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
controllermanager Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
crud Supervisor storage garbage collection controller enabled in production 2020-12-11 15:21:34 -08:00
deploymentref Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
downward internal/downward: add support for (optional) pod name 2020-12-11 11:49:27 -05:00
dynamiccert internal/provider -> internal/dynamiccert 2020-09-23 08:29:35 -04:00
fositestorage Update ExpectedAuthorizeCodeSessionJSONFromFuzzing. 2020-12-17 16:31:08 -06:00
groupsuffix Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
here Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
httputil Simplify securityheader package by merging header fields. 2020-12-16 12:41:05 -06:00
kubeclient internal/kubeclient: fix not found test and request body closing bug 2021-02-03 08:19:34 -05:00
mocks Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
multierror Backfill tests to OIDCProviderConfig controller 2020-10-09 10:39:17 -04:00
oidc Add some trivial unit tests to internal/oidc/csrftoken. 2021-02-02 09:38:17 -06:00
ownerref Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
plog Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
registry/credentialrequest Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
secret Rename off of main 2020-12-16 14:27:09 -08:00
testutil internal/kubeclient: fix not found test and request body closing bug 2021-02-03 08:19:34 -05:00
upstreamoidc Upgrade to github.com/coreos/go-oidc v3.0.0. 2021-01-21 12:08:14 -06:00