mocks

package
v0.0.0-...-1eaa894 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager

func NewManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *Manager

NewManager creates a new instance of Manager. 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 (*Manager) CleanupClients

func (_m *Manager) CleanupClients()

CleanupClients provides a mock function with given fields:

func (*Manager) GetBackupItemAction

func (_m *Manager) GetBackupItemAction(name string) (v1.BackupItemAction, error)

GetBackupItemAction provides a mock function with given fields: name

func (*Manager) GetBackupItemActionV2

func (_m *Manager) GetBackupItemActionV2(name string) (v2.BackupItemAction, error)

GetBackupItemActionV2 provides a mock function with given fields: name

func (*Manager) GetBackupItemActions

func (_m *Manager) GetBackupItemActions() ([]v1.BackupItemAction, error)

GetBackupItemActions provides a mock function with given fields:

func (*Manager) GetBackupItemActionsV2

func (_m *Manager) GetBackupItemActionsV2() ([]v2.BackupItemAction, error)

GetBackupItemActionsV2 provides a mock function with given fields:

func (*Manager) GetDeleteItemAction

func (_m *Manager) GetDeleteItemAction(name string) (velero.DeleteItemAction, error)

GetDeleteItemAction provides a mock function with given fields: name

func (*Manager) GetDeleteItemActions

func (_m *Manager) GetDeleteItemActions() ([]velero.DeleteItemAction, error)

GetDeleteItemActions provides a mock function with given fields:

func (*Manager) GetItemBlockAction

func (_m *Manager) GetItemBlockAction(name string) (itemblockactionv1.ItemBlockAction, error)

GetItemBlockAction provides a mock function with given fields: name

func (*Manager) GetItemBlockActions

func (_m *Manager) GetItemBlockActions() ([]itemblockactionv1.ItemBlockAction, error)

GetItemBlockActions provides a mock function with given fields:

func (*Manager) GetObjectStore

func (_m *Manager) GetObjectStore(name string) (velero.ObjectStore, error)

GetObjectStore provides a mock function with given fields: name

func (*Manager) GetRestoreItemAction

func (_m *Manager) GetRestoreItemAction(name string) (restoreitemactionv1.RestoreItemAction, error)

GetRestoreItemAction provides a mock function with given fields: name

func (*Manager) GetRestoreItemActionV2

func (_m *Manager) GetRestoreItemActionV2(name string) (restoreitemactionv2.RestoreItemAction, error)

GetRestoreItemActionV2 provides a mock function with given fields: name

func (*Manager) GetRestoreItemActions

func (_m *Manager) GetRestoreItemActions() ([]restoreitemactionv1.RestoreItemAction, error)

GetRestoreItemActions provides a mock function with given fields:

func (*Manager) GetRestoreItemActionsV2

func (_m *Manager) GetRestoreItemActionsV2() ([]restoreitemactionv2.RestoreItemAction, error)

GetRestoreItemActionsV2 provides a mock function with given fields:

func (*Manager) GetVolumeSnapshotter

func (_m *Manager) GetVolumeSnapshotter(name string) (volumesnapshotterv1.VolumeSnapshotter, error)

GetVolumeSnapshotter provides a mock function with given fields: name

type ProcessFactory

type ProcessFactory struct {
	mock.Mock
}

ProcessFactory is an autogenerated mock type for the ProcessFactory type

Jump to

Keyboard shortcuts

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