mocks

package
v0.0.0-...-b39fe23 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApiVersionFetcher

type MockApiVersionFetcher struct {
	// contains filtered or unexported fields
}

MockApiVersionFetcher is a mock of ApiVersionFetcher interface.

func NewMockApiVersionFetcher

func NewMockApiVersionFetcher(ctrl *gomock.Controller) *MockApiVersionFetcher

NewMockApiVersionFetcher creates a new mock instance.

func (*MockApiVersionFetcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApiVersionFetcher) GetCSISnapshotGroupVersion

func (m *MockApiVersionFetcher) GetCSISnapshotGroupVersion() (*v1.GroupVersionForDiscovery, error)

GetCSISnapshotGroupVersion mocks base method.

type MockApiVersionFetcherMockRecorder

type MockApiVersionFetcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockApiVersionFetcherMockRecorder is the mock recorder for MockApiVersionFetcher.

func (*MockApiVersionFetcherMockRecorder) GetCSISnapshotGroupVersion

func (mr *MockApiVersionFetcherMockRecorder) GetCSISnapshotGroupVersion() *gomock.Call

GetCSISnapshotGroupVersion indicates an expected call of GetCSISnapshotGroupVersion.

type MockApplicationCreator

type MockApplicationCreator struct {
	// contains filtered or unexported fields
}

MockApplicationCreator is a mock of ApplicationCreator interface.

func NewMockApplicationCreator

func NewMockApplicationCreator(ctrl *gomock.Controller) *MockApplicationCreator

NewMockApplicationCreator creates a new mock instance.

func (*MockApplicationCreator) CreatePVC

CreatePVC mocks base method.

func (*MockApplicationCreator) CreatePod

func (m *MockApplicationCreator) CreatePod(arg0 context.Context, arg1 *types.CreatePodArgs) (*v1.Pod, error)

CreatePod mocks base method.

func (*MockApplicationCreator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApplicationCreator) WaitForPVCReady

func (m *MockApplicationCreator) WaitForPVCReady(ctx context.Context, namespace string, pvcName string) error

func (*MockApplicationCreator) WaitForPodReady

func (m *MockApplicationCreator) WaitForPodReady(arg0 context.Context, arg1, arg2 string) error

WaitForPodReady mocks base method.

type MockApplicationCreatorMockRecorder

type MockApplicationCreatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockApplicationCreatorMockRecorder is the mock recorder for MockApplicationCreator.

func (*MockApplicationCreatorMockRecorder) CreatePVC

func (mr *MockApplicationCreatorMockRecorder) CreatePVC(arg0, arg1 interface{}) *gomock.Call

CreatePVC indicates an expected call of CreatePVC.

func (*MockApplicationCreatorMockRecorder) CreatePod

func (mr *MockApplicationCreatorMockRecorder) CreatePod(arg0, arg1 interface{}) *gomock.Call

CreatePod indicates an expected call of CreatePod.

func (*MockApplicationCreatorMockRecorder) WaitForPVCReady

func (mr *MockApplicationCreatorMockRecorder) WaitForPVCReady(ctx, namespace, pvcName interface{}) *gomock.Call

WaitForPodReady indicates an expected call of WaitForPVCReady.

func (*MockApplicationCreatorMockRecorder) WaitForPodReady

func (mr *MockApplicationCreatorMockRecorder) WaitForPodReady(arg0, arg1, arg2 interface{}) *gomock.Call

WaitForPodReady indicates an expected call of WaitForPodReady.

type MockArgumentValidator

type MockArgumentValidator struct {
	// contains filtered or unexported fields
}

MockArgumentValidator is a mock of ArgumentValidator interface.

func NewMockArgumentValidator

func NewMockArgumentValidator(ctrl *gomock.Controller) *MockArgumentValidator

NewMockArgumentValidator creates a new mock instance.

func (*MockArgumentValidator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockArgumentValidator) FetchPV

FetchPV mocks base method.

func (*MockArgumentValidator) ValidateNamespace

func (m *MockArgumentValidator) ValidateNamespace(arg0 context.Context, arg1 string) error

ValidateNamespace mocks base method.

func (*MockArgumentValidator) ValidatePVC

func (m *MockArgumentValidator) ValidatePVC(arg0 context.Context, arg1, arg2 string) (*v10.PersistentVolumeClaim, error)

ValidatePVC mocks base method.

func (*MockArgumentValidator) ValidateStorageClass

func (m *MockArgumentValidator) ValidateStorageClass(arg0 context.Context, arg1 string) (*v11.StorageClass, error)

ValidateStorageClass mocks base method.

func (*MockArgumentValidator) ValidateVolumeSnapshot

func (m *MockArgumentValidator) ValidateVolumeSnapshot(arg0 context.Context, arg1, arg2 string, arg3 *v12.GroupVersionForDiscovery) (*v1.VolumeSnapshot, error)

ValidateVolumeSnapshot mocks base method.

func (*MockArgumentValidator) ValidateVolumeSnapshotClass

func (m *MockArgumentValidator) ValidateVolumeSnapshotClass(arg0 context.Context, arg1 string, arg2 *v12.GroupVersionForDiscovery) (*unstructured.Unstructured, error)

ValidateVolumeSnapshotClass mocks base method.

type MockArgumentValidatorMockRecorder

type MockArgumentValidatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockArgumentValidatorMockRecorder is the mock recorder for MockArgumentValidator.

func (*MockArgumentValidatorMockRecorder) FetchPV

func (mr *MockArgumentValidatorMockRecorder) FetchPV(arg0, arg1 interface{}) *gomock.Call

FetchPV indicates an expected call of FetchPV.

func (*MockArgumentValidatorMockRecorder) ValidateNamespace

func (mr *MockArgumentValidatorMockRecorder) ValidateNamespace(arg0, arg1 interface{}) *gomock.Call

ValidateNamespace indicates an expected call of ValidateNamespace.

func (*MockArgumentValidatorMockRecorder) ValidatePVC

func (mr *MockArgumentValidatorMockRecorder) ValidatePVC(arg0, arg1, arg2 interface{}) *gomock.Call

ValidatePVC indicates an expected call of ValidatePVC.

func (*MockArgumentValidatorMockRecorder) ValidateStorageClass

func (mr *MockArgumentValidatorMockRecorder) ValidateStorageClass(arg0, arg1 interface{}) *gomock.Call

ValidateStorageClass indicates an expected call of ValidateStorageClass.

func (*MockArgumentValidatorMockRecorder) ValidateVolumeSnapshot

func (mr *MockArgumentValidatorMockRecorder) ValidateVolumeSnapshot(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ValidateVolumeSnapshot indicates an expected call of ValidateVolumeSnapshot.

func (*MockArgumentValidatorMockRecorder) ValidateVolumeSnapshotClass

func (mr *MockArgumentValidatorMockRecorder) ValidateVolumeSnapshotClass(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateVolumeSnapshotClass indicates an expected call of ValidateVolumeSnapshotClass.

type MockCleaner

type MockCleaner struct {
	// contains filtered or unexported fields
}

MockCleaner is a mock of Cleaner interface.

func NewMockCleaner

func NewMockCleaner(ctrl *gomock.Controller) *MockCleaner

NewMockCleaner creates a new mock instance.

func (*MockCleaner) DeletePVC

func (m *MockCleaner) DeletePVC(arg0 context.Context, arg1, arg2 string) error

DeletePVC mocks base method.

func (*MockCleaner) DeletePod

func (m *MockCleaner) DeletePod(arg0 context.Context, arg1, arg2 string) error

DeletePod mocks base method.

func (*MockCleaner) DeleteSnapshot

func (m *MockCleaner) DeleteSnapshot(arg0 context.Context, arg1, arg2 string, arg3 *v1.GroupVersionForDiscovery) error

DeleteSnapshot mocks base method.

func (*MockCleaner) EXPECT

func (m *MockCleaner) EXPECT() *MockCleanerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockCleanerMockRecorder

type MockCleanerMockRecorder struct {
	// contains filtered or unexported fields
}

MockCleanerMockRecorder is the mock recorder for MockCleaner.

func (*MockCleanerMockRecorder) DeletePVC

func (mr *MockCleanerMockRecorder) DeletePVC(arg0, arg1, arg2 interface{}) *gomock.Call

DeletePVC indicates an expected call of DeletePVC.

func (*MockCleanerMockRecorder) DeletePod

func (mr *MockCleanerMockRecorder) DeletePod(arg0, arg1, arg2 interface{}) *gomock.Call

DeletePod indicates an expected call of DeletePod.

func (*MockCleanerMockRecorder) DeleteSnapshot

func (mr *MockCleanerMockRecorder) DeleteSnapshot(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteSnapshot indicates an expected call of DeleteSnapshot.

type MockDataValidator

type MockDataValidator struct {
	// contains filtered or unexported fields
}

MockDataValidator is a mock of DataValidator interface.

func NewMockDataValidator

func NewMockDataValidator(ctrl *gomock.Controller) *MockDataValidator

NewMockDataValidator creates a new mock instance.

func (*MockDataValidator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDataValidator) FetchPodData

func (m *MockDataValidator) FetchPodData(arg0 context.Context, arg1, arg2 string) (string, error)

FetchPodData mocks base method.

type MockDataValidatorMockRecorder

type MockDataValidatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockDataValidatorMockRecorder is the mock recorder for MockDataValidator.

func (*MockDataValidatorMockRecorder) FetchPodData

func (mr *MockDataValidatorMockRecorder) FetchPodData(arg0, arg1, arg2 interface{}) *gomock.Call

FetchPodData indicates an expected call of FetchPodData.

type MockFileRestoreStepper

type MockFileRestoreStepper struct {
	// contains filtered or unexported fields
}

MockFileRestoreStepper is a mock of FileRestoreStepper interface.

func NewMockFileRestoreStepper

func NewMockFileRestoreStepper(ctrl *gomock.Controller) *MockFileRestoreStepper

NewMockFileRestoreStepper creates a new mock instance.

func (*MockFileRestoreStepper) Cleanup

Cleanup mocks base method.

func (*MockFileRestoreStepper) CreateInspectorApplication

func (m *MockFileRestoreStepper) CreateInspectorApplication(arg0 context.Context, arg1 *types.FileRestoreArgs, arg2 *v1.VolumeSnapshot, arg3, arg4 *v10.PersistentVolumeClaim, arg5 *v11.StorageClass) (*v10.Pod, *v10.PersistentVolumeClaim, string, error)

CreateInspectorApplication mocks base method.

func (*MockFileRestoreStepper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFileRestoreStepper) ExecuteCopyCommand

func (m *MockFileRestoreStepper) ExecuteCopyCommand(arg0 context.Context, arg1 *types.FileRestoreArgs, arg2 *v10.Pod, arg3 string) (string, error)

ExecuteCopyCommand mocks base method.

func (*MockFileRestoreStepper) PortForwardAPod

func (m *MockFileRestoreStepper) PortForwardAPod(arg0 *v10.Pod, arg1 int) error

PortForwardAPod mocks base method.

func (*MockFileRestoreStepper) ValidateArgs

ValidateArgs mocks base method.

type MockFileRestoreStepperMockRecorder

type MockFileRestoreStepperMockRecorder struct {
	// contains filtered or unexported fields
}

MockFileRestoreStepperMockRecorder is the mock recorder for MockFileRestoreStepper.

func (*MockFileRestoreStepperMockRecorder) Cleanup

func (mr *MockFileRestoreStepperMockRecorder) Cleanup(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Cleanup indicates an expected call of Cleanup.

func (*MockFileRestoreStepperMockRecorder) CreateInspectorApplication

func (mr *MockFileRestoreStepperMockRecorder) CreateInspectorApplication(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

CreateInspectorApplication indicates an expected call of CreateInspectorApplication.

func (*MockFileRestoreStepperMockRecorder) ExecuteCopyCommand

func (mr *MockFileRestoreStepperMockRecorder) ExecuteCopyCommand(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ExecuteCopyCommand indicates an expected call of ExecuteCopyCommand.

func (*MockFileRestoreStepperMockRecorder) PortForwardAPod

func (mr *MockFileRestoreStepperMockRecorder) PortForwardAPod(arg0, arg1 interface{}) *gomock.Call

PortForwardAPod indicates an expected call of PortForwardAPod.

func (*MockFileRestoreStepperMockRecorder) ValidateArgs

func (mr *MockFileRestoreStepperMockRecorder) ValidateArgs(arg0, arg1 interface{}) *gomock.Call

ValidateArgs indicates an expected call of ValidateArgs.

type MockKubeExecutor

type MockKubeExecutor struct {
	// contains filtered or unexported fields
}

MockKubeExecutor is a mock of KubeExecutor interface.

func NewMockKubeExecutor

func NewMockKubeExecutor(ctrl *gomock.Controller) *MockKubeExecutor

NewMockKubeExecutor creates a new mock instance.

func (*MockKubeExecutor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockKubeExecutor) Exec

func (m *MockKubeExecutor) Exec(arg0 context.Context, arg1, arg2, arg3 string, arg4 []string) (string, error)

Exec mocks base method.

type MockKubeExecutorMockRecorder

type MockKubeExecutorMockRecorder struct {
	// contains filtered or unexported fields
}

MockKubeExecutorMockRecorder is the mock recorder for MockKubeExecutor.

func (*MockKubeExecutorMockRecorder) Exec

func (mr *MockKubeExecutorMockRecorder) Exec(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Exec indicates an expected call of Exec.

type MockPVCBrowserStepper

type MockPVCBrowserStepper struct {
	// contains filtered or unexported fields
}

MockPVCBrowserStepper is a mock of PVCBrowserStepper interface.

func NewMockPVCBrowserStepper

func NewMockPVCBrowserStepper(ctrl *gomock.Controller) *MockPVCBrowserStepper

NewMockPVCBrowserStepper creates a new mock instance.

func (*MockPVCBrowserStepper) Cleanup

func (m *MockPVCBrowserStepper) Cleanup(arg0 context.Context, arg1 *v10.PersistentVolumeClaim, arg2 *v10.Pod, arg3 *v1.VolumeSnapshot)

Cleanup mocks base method.

func (*MockPVCBrowserStepper) CreateInspectorApplication

func (m *MockPVCBrowserStepper) CreateInspectorApplication(arg0 context.Context, arg1 *types.PVCBrowseArgs, arg2 *v1.VolumeSnapshot, arg3 *v11.StorageClass) (*v10.Pod, *v10.PersistentVolumeClaim, error)

CreateInspectorApplication mocks base method.

func (*MockPVCBrowserStepper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPVCBrowserStepper) ExecuteTreeCommand

func (m *MockPVCBrowserStepper) ExecuteTreeCommand(arg0 context.Context, arg1 *types.PVCBrowseArgs, arg2 *v10.Pod) (string, error)

ExecuteTreeCommand mocks base method.

func (*MockPVCBrowserStepper) PortForwardAPod

func (m *MockPVCBrowserStepper) PortForwardAPod(arg0 context.Context, arg1 *v10.Pod, arg2 int) error

PortForwardAPod mocks base method.

func (*MockPVCBrowserStepper) SnapshotPVC

func (m *MockPVCBrowserStepper) SnapshotPVC(arg0 context.Context, arg1 *types.PVCBrowseArgs, arg2 string) (*v1.VolumeSnapshot, error)

SnapshotPVC mocks base method.

func (*MockPVCBrowserStepper) ValidateArgs

func (m *MockPVCBrowserStepper) ValidateArgs(arg0 context.Context, arg1 *types.PVCBrowseArgs) (*v11.StorageClass, error)

ValidateArgs mocks base method.

type MockPVCBrowserStepperMockRecorder

type MockPVCBrowserStepperMockRecorder struct {
	// contains filtered or unexported fields
}

MockPVCBrowserStepperMockRecorder is the mock recorder for MockPVCBrowserStepper.

func (*MockPVCBrowserStepperMockRecorder) Cleanup

func (mr *MockPVCBrowserStepperMockRecorder) Cleanup(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Cleanup indicates an expected call of Cleanup.

func (*MockPVCBrowserStepperMockRecorder) CreateInspectorApplication

func (mr *MockPVCBrowserStepperMockRecorder) CreateInspectorApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateInspectorApplication indicates an expected call of CreateInspectorApplication.

func (*MockPVCBrowserStepperMockRecorder) ExecuteTreeCommand

func (mr *MockPVCBrowserStepperMockRecorder) ExecuteTreeCommand(arg0, arg1, arg2 interface{}) *gomock.Call

ExecuteTreeCommand indicates an expected call of ExecuteTreeCommand.

func (*MockPVCBrowserStepperMockRecorder) PortForwardAPod

func (mr *MockPVCBrowserStepperMockRecorder) PortForwardAPod(arg0, arg1, arg2 interface{}) *gomock.Call

PortForwardAPod indicates an expected call of PortForwardAPod.

func (*MockPVCBrowserStepperMockRecorder) SnapshotPVC

func (mr *MockPVCBrowserStepperMockRecorder) SnapshotPVC(arg0, arg1, arg2 interface{}) *gomock.Call

SnapshotPVC indicates an expected call of SnapshotPVC.

func (*MockPVCBrowserStepperMockRecorder) ValidateArgs

func (mr *MockPVCBrowserStepperMockRecorder) ValidateArgs(arg0, arg1 interface{}) *gomock.Call

ValidateArgs indicates an expected call of ValidateArgs.

type MockPortForwarder

type MockPortForwarder struct {
	// contains filtered or unexported fields
}

MockPortForwarder is a mock of PortForwarder interface.

func NewMockPortForwarder

func NewMockPortForwarder(ctrl *gomock.Controller) *MockPortForwarder

NewMockPortForwarder creates a new mock instance.

func (*MockPortForwarder) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPortForwarder) FetchRestConfig

func (m *MockPortForwarder) FetchRestConfig() (*rest.Config, error)

FetchRestConfig mocks base method.

func (*MockPortForwarder) PortForwardAPod

func (m *MockPortForwarder) PortForwardAPod(arg0 *types.PortForwardAPodRequest) error

PortForwardAPod mocks base method.

type MockPortForwarderMockRecorder

type MockPortForwarderMockRecorder struct {
	// contains filtered or unexported fields
}

MockPortForwarderMockRecorder is the mock recorder for MockPortForwarder.

func (*MockPortForwarderMockRecorder) FetchRestConfig

func (mr *MockPortForwarderMockRecorder) FetchRestConfig() *gomock.Call

FetchRestConfig indicates an expected call of FetchRestConfig.

func (*MockPortForwarderMockRecorder) PortForwardAPod

func (mr *MockPortForwarderMockRecorder) PortForwardAPod(arg0 interface{}) *gomock.Call

PortForwardAPod indicates an expected call of PortForwardAPod.

type MockSnapshotBrowserStepper

type MockSnapshotBrowserStepper struct {
	// contains filtered or unexported fields
}

MockSnapshotBrowserStepper is a mock of SnapshotBrowserStepper interface.

func NewMockSnapshotBrowserStepper

func NewMockSnapshotBrowserStepper(ctrl *gomock.Controller) *MockSnapshotBrowserStepper

NewMockSnapshotBrowserStepper creates a new mock instance.

func (*MockSnapshotBrowserStepper) Cleanup

Cleanup mocks base method.

func (*MockSnapshotBrowserStepper) CreateInspectorApplication

CreateInspectorApplication mocks base method.

func (*MockSnapshotBrowserStepper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSnapshotBrowserStepper) ExecuteTreeCommand

func (m *MockSnapshotBrowserStepper) ExecuteTreeCommand(arg0 context.Context, arg1 *types.SnapshotBrowseArgs, arg2 *v10.Pod) (string, error)

ExecuteTreeCommand mocks base method.

func (*MockSnapshotBrowserStepper) PortForwardAPod

func (m *MockSnapshotBrowserStepper) PortForwardAPod(arg0 context.Context, arg1 *v10.Pod, arg2 int) error

PortForwardAPod mocks base method.

func (*MockSnapshotBrowserStepper) ValidateArgs

ValidateArgs mocks base method.

type MockSnapshotBrowserStepperMockRecorder

type MockSnapshotBrowserStepperMockRecorder struct {
	// contains filtered or unexported fields
}

MockSnapshotBrowserStepperMockRecorder is the mock recorder for MockSnapshotBrowserStepper.

func (*MockSnapshotBrowserStepperMockRecorder) Cleanup

func (mr *MockSnapshotBrowserStepperMockRecorder) Cleanup(arg0, arg1, arg2 interface{}) *gomock.Call

Cleanup indicates an expected call of Cleanup.

func (*MockSnapshotBrowserStepperMockRecorder) CreateInspectorApplication

func (mr *MockSnapshotBrowserStepperMockRecorder) CreateInspectorApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateInspectorApplication indicates an expected call of CreateInspectorApplication.

func (*MockSnapshotBrowserStepperMockRecorder) ExecuteTreeCommand

func (mr *MockSnapshotBrowserStepperMockRecorder) ExecuteTreeCommand(arg0, arg1, arg2 interface{}) *gomock.Call

ExecuteTreeCommand indicates an expected call of ExecuteTreeCommand.

func (*MockSnapshotBrowserStepperMockRecorder) PortForwardAPod

func (mr *MockSnapshotBrowserStepperMockRecorder) PortForwardAPod(arg0, arg1, arg2 interface{}) *gomock.Call

PortForwardAPod indicates an expected call of PortForwardAPod.

func (*MockSnapshotBrowserStepperMockRecorder) ValidateArgs

func (mr *MockSnapshotBrowserStepperMockRecorder) ValidateArgs(arg0, arg1 interface{}) *gomock.Call

ValidateArgs indicates an expected call of ValidateArgs.

type MockSnapshotCreator

type MockSnapshotCreator struct {
	// contains filtered or unexported fields
}

MockSnapshotCreator is a mock of SnapshotCreator interface.

func NewMockSnapshotCreator

func NewMockSnapshotCreator(ctrl *gomock.Controller) *MockSnapshotCreator

NewMockSnapshotCreator creates a new mock instance.

func (*MockSnapshotCreator) CreateFromSourceCheck

CreateFromSourceCheck mocks base method.

func (*MockSnapshotCreator) CreateSnapshot

CreateSnapshot mocks base method.

func (*MockSnapshotCreator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSnapshotCreator) NewSnapshotter

func (m *MockSnapshotCreator) NewSnapshotter() (snapshot.Snapshotter, error)

NewSnapshotter mocks base method.

type MockSnapshotCreatorMockRecorder

type MockSnapshotCreatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockSnapshotCreatorMockRecorder is the mock recorder for MockSnapshotCreator.

func (*MockSnapshotCreatorMockRecorder) CreateFromSourceCheck

func (mr *MockSnapshotCreatorMockRecorder) CreateFromSourceCheck(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateFromSourceCheck indicates an expected call of CreateFromSourceCheck.

func (*MockSnapshotCreatorMockRecorder) CreateSnapshot

func (mr *MockSnapshotCreatorMockRecorder) CreateSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call

CreateSnapshot indicates an expected call of CreateSnapshot.

func (*MockSnapshotCreatorMockRecorder) NewSnapshotter

func (mr *MockSnapshotCreatorMockRecorder) NewSnapshotter() *gomock.Call

NewSnapshotter indicates an expected call of NewSnapshotter.

type MockSnapshotRestoreStepper

type MockSnapshotRestoreStepper struct {
	// contains filtered or unexported fields
}

MockSnapshotRestoreStepper is a mock of SnapshotRestoreStepper interface.

func NewMockSnapshotRestoreStepper

func NewMockSnapshotRestoreStepper(ctrl *gomock.Controller) *MockSnapshotRestoreStepper

NewMockSnapshotRestoreStepper creates a new mock instance.

func (*MockSnapshotRestoreStepper) Cleanup

Cleanup mocks base method.

func (*MockSnapshotRestoreStepper) CreateApplication

CreateApplication mocks base method.

func (*MockSnapshotRestoreStepper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSnapshotRestoreStepper) RestoreApplication

RestoreApplication mocks base method.

func (*MockSnapshotRestoreStepper) SnapshotApplication

SnapshotApplication mocks base method.

func (*MockSnapshotRestoreStepper) ValidateArgs

ValidateArgs mocks base method.

func (*MockSnapshotRestoreStepper) ValidateData

func (m *MockSnapshotRestoreStepper) ValidateData(arg0 context.Context, arg1 *v10.Pod, arg2 string) error

ValidateData mocks base method.

type MockSnapshotRestoreStepperMockRecorder

type MockSnapshotRestoreStepperMockRecorder struct {
	// contains filtered or unexported fields
}

MockSnapshotRestoreStepperMockRecorder is the mock recorder for MockSnapshotRestoreStepper.

func (*MockSnapshotRestoreStepperMockRecorder) Cleanup

func (mr *MockSnapshotRestoreStepperMockRecorder) Cleanup(arg0, arg1 interface{}) *gomock.Call

Cleanup indicates an expected call of Cleanup.

func (*MockSnapshotRestoreStepperMockRecorder) CreateApplication

func (mr *MockSnapshotRestoreStepperMockRecorder) CreateApplication(arg0, arg1, arg2 interface{}) *gomock.Call

CreateApplication indicates an expected call of CreateApplication.

func (*MockSnapshotRestoreStepperMockRecorder) RestoreApplication

func (mr *MockSnapshotRestoreStepperMockRecorder) RestoreApplication(arg0, arg1, arg2 interface{}) *gomock.Call

RestoreApplication indicates an expected call of RestoreApplication.

func (*MockSnapshotRestoreStepperMockRecorder) SnapshotApplication

func (mr *MockSnapshotRestoreStepperMockRecorder) SnapshotApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SnapshotApplication indicates an expected call of SnapshotApplication.

func (*MockSnapshotRestoreStepperMockRecorder) ValidateArgs

func (mr *MockSnapshotRestoreStepperMockRecorder) ValidateArgs(arg0, arg1 interface{}) *gomock.Call

ValidateArgs indicates an expected call of ValidateArgs.

func (*MockSnapshotRestoreStepperMockRecorder) ValidateData

func (mr *MockSnapshotRestoreStepperMockRecorder) ValidateData(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateData indicates an expected call of ValidateData.

Jump to

Keyboard shortcuts

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