Documentation ¶
Index ¶
- type RestoreItemAction
- func (_m *RestoreItemAction) AppliesTo() (velero.ResourceSelector, error)
- func (_m *RestoreItemAction) AreAdditionalItemsReady(additionalItems []velero.ResourceIdentifier, restore *v1.Restore) (bool, error)
- func (_m *RestoreItemAction) Cancel(operationID string, restore *v1.Restore) error
- func (_m *RestoreItemAction) Execute(input *velero.RestoreItemActionExecuteInput) (*velero.RestoreItemActionExecuteOutput, error)
- func (_m *RestoreItemAction) Name() string
- func (_m *RestoreItemAction) Progress(operationID string, restore *v1.Restore) (velero.OperationProgress, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestoreItemAction ¶
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 ¶
func (_m *RestoreItemAction) Execute(input *velero.RestoreItemActionExecuteInput) (*velero.RestoreItemActionExecuteOutput, error)
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