mocks

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncBR

type AsyncBR struct {
	mock.Mock
}

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) Close

func (_m *AsyncBR) Close(ctx context.Context)

Close provides a mock function with given fields: ctx

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL