Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
2.7 KiB
Go
Raw Permalink Normal View History

// 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
package common
import (
"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"
)
type (
AuthTokenRepoFactory = oidc.AuthTokenRepoFactory
VaultCredentialRepoFactory = func() (*vault.Repository, error)
StaticCredentialRepoFactory = func() (*credstatic.Repository, error)
CredentialStoreRepoFactory func() (*credential.StoreRepository, error)
HostCatalogRepoFactory func() (*host.CatalogRepository, error)
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)
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)
BillingRepoFactory func() (*billing.Repository, error)
AliasRepoFactory func() (*alias.Repository, error)
TargetAliasRepoFactory func() (*target.Repository, error)
)