2020-06-08 14:43:13 -07:00
|
|
|
package common
|
|
|
|
|
|
|
|
|
|
import (
|
2020-07-07 12:14:26 -07:00
|
|
|
"github.com/hashicorp/watchtower/internal/authtoken"
|
2020-06-08 14:43:13 -07:00
|
|
|
"github.com/hashicorp/watchtower/internal/host/static"
|
|
|
|
|
"github.com/hashicorp/watchtower/internal/iam"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type (
|
2020-07-07 12:14:26 -07:00
|
|
|
IamRepoFactory func() (*iam.Repository, error)
|
|
|
|
|
StaticRepoFactory func() (*static.Repository, error)
|
|
|
|
|
AuthTokenRepoFactory func() (*authtoken.Repository, error)
|
2020-06-08 14:43:13 -07:00
|
|
|
)
|