Files
threshold/internal/daemon/controller/common/common.go
T

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

37 lines
1.6 KiB
Go
Raw Normal View History

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"
credstatic "github.com/hashicorp/boundary/internal/credential/static"
"github.com/hashicorp/boundary/internal/credential/vault"
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"
2022-06-20 18:20:17 -07:00
"github.com/hashicorp/boundary/internal/server"
"github.com/hashicorp/boundary/internal/session"
)
type (
2022-06-03 14:44:53 -04:00
AuthTokenRepoFactory = oidc.AuthTokenRepoFactory
VaultCredentialRepoFactory = func() (*vault.Repository, error)
StaticCredentialRepoFactory = func() (*credstatic.Repository, error)
IamRepoFactory = iam.IamRepoFactory
2022-06-03 14:44:53 -04:00
OidcAuthRepoFactory = oidc.OidcRepoFactory
PasswordAuthRepoFactory func() (*password.Repository, error)
2022-06-20 18:20:17 -07:00
ServersRepoFactory func() (*server.Repository, error)
2022-06-03 14:44:53 -04:00
StaticRepoFactory func() (*static.Repository, error)
PluginHostRepoFactory func() (*pluginhost.Repository, error)
HostPluginRepoFactory func() (*hostplugin.Repository, error)
ConnectionRepoFactory func() (*session.ConnectionRepository, error)
2022-06-20 18:20:17 -07:00
WorkerAuthRepoStorageFactory func() (*server.WorkerAuthRepositoryStorage, error)
)
2023-01-04 11:24:09 -05:00
// Downstreamers provides at least a minimum interface that must be met by a
// Controller.downstreamWorkers field which is far better than allowing any (empty
// interface)
type Downstreamers interface {
// RootId returns the root ID of the downstreamers' graph
RootId() string
}