v2

package
v1.13.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupItemAction

type BackupItemAction struct {
	mock.Mock
}

BackupItemAction is an autogenerated mock type for the BackupItemAction type

func NewBackupItemAction

func NewBackupItemAction(t mockConstructorTestingTNewBackupItemAction) *BackupItemAction

NewBackupItemAction creates a new instance of BackupItemAction. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BackupItemAction) AppliesTo

func (_m *BackupItemAction) AppliesTo() (velero.ResourceSelector, error)

AppliesTo provides a mock function with given fields:

func (*BackupItemAction) Cancel

func (_m *BackupItemAction) Cancel(operationID string, backup *v1.Backup) error

Cancel provides a mock function with given fields: operationID, backup

func (*BackupItemAction) Execute

Execute provides a mock function with given fields: item, backup

func (*BackupItemAction) Name

func (_m *BackupItemAction) Name() string

Name provides a mock function with given fields:

func (*BackupItemAction) Progress

func (_m *BackupItemAction) Progress(operationID string, backup *v1.Backup) (velero.OperationProgress, error)

Progress provides a mock function with given fields: operationID, backup

Jump to

Keyboard shortcuts

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