Rename root, api and sdk module paths (imports, go.mod, go_package, ldflags, build scripts, buf configs) and regenerate protobuf/gateway code with the project's pinned toolchain. Wire identifiers unchanged. api gets a local replace for sdk; root/api/sdk require v0.1.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
49 lines
2.7 KiB
Go
49 lines
2.7 KiB
Go
// Copyright IBM Corp. 2020, 2026
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
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)
|
|
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)
|
|
)
|