Adds helper methods for common credential sources as well as an
aggregate extraction function that can be included in a larger switch
statement for custom credential sources.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
Updates all core/v1alpha1 imports to the common/v1, which is the new
home of these embedded API types.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
I was originally thinking this wouldn't be useful, but I'm starting to find some
places it could help with testing. It may also help switch out implementations
in future.
Signed-off-by: Nic Cope <negz@rk0n.org>