2020-06-08 14:43:13 -07:00
|
|
|
package common
|
|
|
|
|
|
|
|
|
|
import (
|
2021-04-08 20:54:32 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/auth/oidc"
|
2020-08-10 17:15:02 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/auth/password"
|
2021-06-22 22:26:26 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/credential/vault"
|
2021-09-13 15:02:04 -07:00
|
|
|
pluginhost "github.com/hashicorp/boundary/internal/host/plugin"
|
2020-08-10 17:15:02 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/host/static"
|
|
|
|
|
"github.com/hashicorp/boundary/internal/iam"
|
2021-09-14 09:57:07 -07:00
|
|
|
hostplugin "github.com/hashicorp/boundary/internal/plugin/host"
|
2020-08-12 00:40:39 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/servers"
|
2020-09-19 00:18:17 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/session"
|
2020-09-01 15:05:46 -07:00
|
|
|
"github.com/hashicorp/boundary/internal/target"
|
2020-06-08 14:43:13 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type (
|
2022-06-03 14:44:53 -04:00
|
|
|
AuthTokenRepoFactory = oidc.AuthTokenRepoFactory
|
|
|
|
|
VaultCredentialRepoFactory = func() (*vault.Repository, error)
|
|
|
|
|
IamRepoFactory func() (*iam.Repository, error)
|
|
|
|
|
OidcAuthRepoFactory = oidc.OidcRepoFactory
|
|
|
|
|
PasswordAuthRepoFactory func() (*password.Repository, error)
|
|
|
|
|
ServersRepoFactory func() (*servers.Repository, error)
|
|
|
|
|
StaticRepoFactory func() (*static.Repository, error)
|
|
|
|
|
PluginHostRepoFactory func() (*pluginhost.Repository, error)
|
|
|
|
|
HostPluginRepoFactory func() (*hostplugin.Repository, error)
|
|
|
|
|
SessionRepoFactory func() (*session.Repository, error)
|
|
|
|
|
ConnectionRepoFactory func() (*session.ConnectionRepository, error)
|
|
|
|
|
TargetRepoFactory func() (*target.Repository, error)
|
|
|
|
|
WorkerAuthRepoStorageFactory func() (*servers.WorkerAuthRepositoryStorage, error)
|
2020-06-08 14:43:13 -07:00
|
|
|
)
|