mocks_export

package
v0.0.0-...-ebe201a Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks_export is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) CancelJob

func (m *MockManager) CancelJob(ctx context.Context, jobID string) error

CancelJob mocks base method.

func (*MockManager) CreateExportJob

func (m *MockManager) CreateExportJob(ctx context.Context, vmName string, params export.Params) (*export.Job, error)

CreateExportJob mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) GetJob

func (m *MockManager) GetJob(ctx context.Context, jobID string) (*export.Job, error)

GetJob mocks base method.

func (*MockManager) ListJobs

func (m *MockManager) ListJobs(ctx context.Context) ([]*export.Job, error)

ListJobs mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) CancelJob

func (mr *MockManagerMockRecorder) CancelJob(ctx, jobID any) *gomock.Call

CancelJob indicates an expected call of CancelJob.

func (*MockManagerMockRecorder) CreateExportJob

func (mr *MockManagerMockRecorder) CreateExportJob(ctx, vmName, params any) *gomock.Call

CreateExportJob indicates an expected call of CreateExportJob.

func (*MockManagerMockRecorder) GetJob

func (mr *MockManagerMockRecorder) GetJob(ctx, jobID any) *gomock.Call

GetJob indicates an expected call of GetJob.

func (*MockManagerMockRecorder) ListJobs

func (mr *MockManagerMockRecorder) ListJobs(ctx any) *gomock.Call

ListJobs indicates an expected call of ListJobs.

Jump to

Keyboard shortcuts

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