Documentation ¶
Index ¶
- type AsyncBR
- func (_m *AsyncBR) Cancel()
- func (_m *AsyncBR) Close(ctx context.Context)
- func (_m *AsyncBR) Init(ctx context.Context, bslName string, sourceNamespace string, ...) error
- func (_m *AsyncBR) StartBackup(source datapath.AccessPoint, realSource string, parentSnapshot string, ...) error
- func (_m *AsyncBR) StartRestore(snapshotID string, target datapath.AccessPoint, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncBR ¶
AsyncBR is an autogenerated mock type for the AsyncBR type
func NewAsyncBR ¶
func NewAsyncBR(t mockConstructorTestingTNewAsyncBR) *AsyncBR
NewAsyncBR creates a new instance of AsyncBR. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AsyncBR) Cancel ¶
func (_m *AsyncBR) Cancel()
Cancel provides a mock function with given fields:
func (*AsyncBR) Init ¶
func (_m *AsyncBR) Init(ctx context.Context, bslName string, sourceNamespace string, uploaderType string, repositoryType string, repoIdentifier string, repositoryEnsurer *repository.Ensurer, credentialGetter *credentials.CredentialGetter) error
Init provides a mock function with given fields: ctx, bslName, sourceNamespace, uploaderType, repositoryType, repoIdentifier, repositoryEnsurer, credentialGetter
func (*AsyncBR) StartBackup ¶
func (_m *AsyncBR) StartBackup(source datapath.AccessPoint, realSource string, parentSnapshot string, forceFull bool, tags map[string]string, dataMoverConfig map[string]string) error
StartBackup provides a mock function with given fields: source, realSource, parentSnapshot, forceFull, tags, dataMoverConfig
func (*AsyncBR) StartRestore ¶
func (_m *AsyncBR) StartRestore(snapshotID string, target datapath.AccessPoint, dataMoverConfig map[string]string) error
StartRestore provides a mock function with given fields: snapshotID, target, dataMoverConfig