ContainerImage.Pinniped/test/library
Andrew Keesler 0fc1f17866
internal/groupsuffix: mutate TokenCredentialRequest's Authenticator
This is a partial revert of 288d9c999e. For some reason it didn't occur to me
that we could do it this way earlier. Whoops.

This also contains a middleware update: mutation funcs can return an error now
and short-circuit the rest of the request/response flow. The idea here is that
if someone is configuring their kubeclient to use middleware, they are agreeing
to a narrow-er client contract by doing so (e.g., their TokenCredentialRequest's
must have an Spec.Authenticator.APIGroup set).

I also updated some internal/groupsuffix tests to be more realistic.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-02-10 15:53:44 -05:00
..
browsertest Clean up the browsertest package a bit. 2020-12-02 17:20:24 -06:00
access.go Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
assertions.go test/integration: ensure no pods restart during integration tests 2021-02-04 10:24:33 -05:00
cli.go Add a library.PinnipedCLIPath() test helper, with caching. 2020-12-15 12:34:49 -06:00
client.go internal/groupsuffix: mutate TokenCredentialRequest's Authenticator 2021-02-10 15:53:44 -05:00
dumplogs.go Allow multiple Pinnipeds to work on same cluster 2021-02-02 15:18:41 -08:00
env.go test: wire API group suffix through to tests 2021-01-19 17:23:20 -05:00
iotest.go Expose the MaskTokens function so other test code can use it. 2020-12-02 15:55:34 -06:00
iplookup.go Fix a test issue with IPv6 localhost interfaces. 2020-12-02 17:49:21 -06:00
iplookup_go1.14.go Fix a test issue with IPv6 localhost interfaces. 2020-12-02 17:49:21 -06:00
skip.go Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
spew.go Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00