Add some common account bits and change over some getOpts -> GetOpts funcs (#2565) (#2566)

This is a precursor to another upcoming PR that will make use of these
changes, but it makes that PR more manageable.
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2022-10-25 21:33:31 -04:00
1 parent f57454b6b9
commit b86430c2af
16 files changed
+101 -27

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ type (
AuthTokenRepoFactory = oidc.AuthTokenRepoFactory
VaultCredentialRepoFactory = func() (*vault.Repository, error)
StaticCredentialRepoFactory = func() (*credstatic.Repository, error)
IamRepoFactory func() (*iam.Repository, error)
IamRepoFactory = iam.IamRepoFactory
OidcAuthRepoFactory = oidc.OidcRepoFactory
PasswordAuthRepoFactory func() (*password.Repository, error)
ServersRepoFactory func() (*server.Repository, error)