Documentation
¶
Overview ¶
Package mocks_export is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) CancelJob(ctx context.Context, jobID string) error
- func (m *MockManager) CreateExportJob(ctx context.Context, vmName string, params export.Params) (*export.Job, error)
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) GetJob(ctx context.Context, jobID string) (*export.Job, error)
- func (m *MockManager) ListJobs(ctx context.Context) ([]*export.Job, error)
- type MockManagerMockRecorder
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.
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.
Click to show internal directories.
Click to hide internal directories.