mocks

package
v1.15.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 3 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

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, param interface{}) error

Init provides a mock function with given fields: ctx, param

func (*AsyncBR) StartBackup

func (_m *AsyncBR) StartBackup(source datapath.AccessPoint, dataMoverConfig map[string]string, param interface{}) error

StartBackup provides a mock function with given fields: source, dataMoverConfig, param

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