Documentation ¶
Index ¶
- type BackupItemAction
- func (_m *BackupItemAction) AppliesTo() (velero.ResourceSelector, error)
- func (_m *BackupItemAction) Cancel(operationID string, backup *v1.Backup) error
- func (_m *BackupItemAction) Execute(item runtime.Unstructured, backup *v1.Backup) (runtime.Unstructured, []velero.ResourceIdentifier, string, ...)
- func (_m *BackupItemAction) Name() string
- func (_m *BackupItemAction) Progress(operationID string, backup *v1.Backup) (velero.OperationProgress, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupItemAction ¶
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 ¶
func (_m *BackupItemAction) Execute(item runtime.Unstructured, backup *v1.Backup) (runtime.Unstructured, []velero.ResourceIdentifier, string, []velero.ResourceIdentifier, error)
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
Click to show internal directories.
Click to hide internal directories.