v2

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 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 RestoreItemAction

type RestoreItemAction struct {
	mock.Mock
}

RestoreItemAction is an autogenerated mock type for the RestoreItemAction type

func NewRestoreItemAction

func NewRestoreItemAction(t mockConstructorTestingTNewRestoreItemAction) *RestoreItemAction

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

func (*RestoreItemAction) AppliesTo

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

AppliesTo provides a mock function with given fields:

func (*RestoreItemAction) AreAdditionalItemsReady

func (_m *RestoreItemAction) AreAdditionalItemsReady(additionalItems []velero.ResourceIdentifier, restore *v1.Restore) (bool, error)

AreAdditionalItemsReady provides a mock function with given fields: AdditionalItems, restore

func (*RestoreItemAction) Cancel

func (_m *RestoreItemAction) Cancel(operationID string, restore *v1.Restore) error

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

func (*RestoreItemAction) Execute

Execute provides a mock function with given fields: input

func (*RestoreItemAction) Name

func (_m *RestoreItemAction) Name() string

Name provides a mock function with given fields:

func (*RestoreItemAction) Progress

func (_m *RestoreItemAction) Progress(operationID string, restore *v1.Restore) (velero.OperationProgress, error)

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

Jump to

Keyboard shortcuts

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