22 lines
818 B
Go
22 lines
818 B
Go
package common
|
|
|
|
import (
|
|
"github.com/hashicorp/boundary/internal/auth/password"
|
|
"github.com/hashicorp/boundary/internal/authtoken"
|
|
"github.com/hashicorp/boundary/internal/host/static"
|
|
"github.com/hashicorp/boundary/internal/iam"
|
|
"github.com/hashicorp/boundary/internal/servers"
|
|
"github.com/hashicorp/boundary/internal/session"
|
|
"github.com/hashicorp/boundary/internal/target"
|
|
)
|
|
|
|
type (
|
|
AuthTokenRepoFactory func() (*authtoken.Repository, error)
|
|
IamRepoFactory func() (*iam.Repository, error)
|
|
PasswordAuthRepoFactory func() (*password.Repository, error)
|
|
ServersRepoFactory func() (*servers.Repository, error)
|
|
StaticRepoFactory func() (*static.Repository, error)
|
|
TargetRepoFactory func() (*target.Repository, error)
|
|
SessionRepoFactory func() (*session.Repository, error)
|
|
)
|