Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultImpersonatedTokenConfigProvider ¶
func NewDefaultImpersonatedTokenConfigProvider() impersonate.TargetPrincipalForProjectProvider
Types ¶
type PrincipalProvider ¶
type PrincipalProvider interface {
GetPrincipalForEmail(ctxIn context.Context, email string) (*authmodel.Principal, error)
}
func NewDefaultUserProvider ¶
func NewDefaultUserProvider(ctxIn context.Context, gcsClient gcs.CloudStorageClient) (PrincipalProvider, error)
type SinkGCPProjectProvider ¶
type SinkGCPProjectProvider interface {
GetSinkGCPProjectID(ctxIn context.Context, sourceGCPProjectID string) (string, error)
}
func NewDefaultGCPBackupProvider ¶
func NewDefaultGCPBackupProvider(ctxIn context.Context, gcsClient gcs.CloudStorageClient) (SinkGCPProjectProvider, error)
Click to show internal directories.
Click to hide internal directories.