mocks

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 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) error

StartBackup provides a mock function with given fields: source, realSource, parentSnapshot, forceFull, tags

func (*AsyncBR) StartRestore

func (_m *AsyncBR) StartRestore(snapshotID string, target datapath.AccessPoint) error

StartRestore provides a mock function with given fields: snapshotID, target

Jump to

Keyboard shortcuts

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