mocks

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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

GetBackupItemActionsV2 provides a mock function with given fields:

func (*Manager) GetDeleteItemAction added in v1.19.0

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

GetDeleteItemAction provides a mock function with given fields: name

func (*Manager) GetDeleteItemActions added in v1.19.0

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

GetDeleteItemActions provides a mock function with given fields:

func (*Manager) GetItemBlockAction added in v1.19.0

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

GetItemBlockAction provides a mock function with given fields: name

func (*Manager) GetItemBlockActions added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

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

GetRestoreItemActionsV2 provides a mock function with given fields:

func (*Manager) GetVolumeSnapshotter added in v1.0.0

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