2026-04-06 15:48:37 +05:30
|
|
|
// Copyright IBM Corp. 2020, 2026
|
2023-01-04 11:24:09 -05:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-02-02 17:15:17 -08:00
|
|
|
|
2020-06-08 14:43:13 -07:00
|
|
|
package common
|
|
|
|
|
|
|
|
|
|
import (
|
2026-10-12 10:33:41 -07:00
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/alias"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/alias/target"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/auth"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/auth/ldap"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/auth/oidc"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/auth/password"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/billing"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/credential"
|
|
|
|
|
credstatic "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/credential/static"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/credential/vault"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/host"
|
|
|
|
|
pluginhost "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/host/plugin"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/host/static"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/iam"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/plugin"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/server"
|
|
|
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/session"
|
|
|
|
|
pluginstorage "repo.anhonesthost.net/CyberCoveLLC/threshold/internal/storage/plugin"
|
2020-06-08 14:43:13 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type (
|
2023-04-28 22:44:49 -07:00
|
|
|
AuthTokenRepoFactory = oidc.AuthTokenRepoFactory
|
|
|
|
|
VaultCredentialRepoFactory = func() (*vault.Repository, error)
|
|
|
|
|
StaticCredentialRepoFactory = func() (*credstatic.Repository, error)
|
2023-12-06 09:45:44 -08:00
|
|
|
CredentialStoreRepoFactory func() (*credential.StoreRepository, error)
|
2023-12-15 10:58:30 -08:00
|
|
|
HostCatalogRepoFactory func() (*host.CatalogRepository, error)
|
2023-04-28 22:44:49 -07:00
|
|
|
IamRepoFactory = iam.IamRepoFactory
|
|
|
|
|
OidcAuthRepoFactory = oidc.OidcRepoFactory
|
|
|
|
|
LdapAuthRepoFactory = ldap.RepoFactory
|
|
|
|
|
PasswordAuthRepoFactory func() (*password.Repository, error)
|
2023-12-21 14:58:21 -05:00
|
|
|
AuthMethodRepoFactory func() (*auth.AuthMethodRepository, error)
|
2023-04-28 22:44:49 -07:00
|
|
|
ServersRepoFactory func() (*server.Repository, error)
|
|
|
|
|
StaticRepoFactory func() (*static.Repository, error)
|
|
|
|
|
PluginHostRepoFactory func() (*pluginhost.Repository, error)
|
|
|
|
|
PluginRepoFactory func() (*plugin.Repository, error)
|
|
|
|
|
ConnectionRepoFactory func() (*session.ConnectionRepository, error)
|
|
|
|
|
WorkerAuthRepoStorageFactory func() (*server.WorkerAuthRepositoryStorage, error)
|
|
|
|
|
PluginStorageBucketRepoFactory func() (*pluginstorage.Repository, error)
|
2024-02-21 13:28:44 -05:00
|
|
|
BillingRepoFactory func() (*billing.Repository, error)
|
2024-02-13 09:17:41 -08:00
|
|
|
AliasRepoFactory func() (*alias.Repository, error)
|
2024-02-01 07:31:46 -08:00
|
|
|
TargetAliasRepoFactory func() (*target.Repository, error)
|
2020-06-08 14:43:13 -07:00
|
|
|
)
|