mocks

package
v7.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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 MockDisk

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

MockDisk is a mock of Disk interface.

func NewMockDisk

func NewMockDisk(ctrl *gomock.Controller) *MockDisk

NewMockDisk creates a new mock instance.

func (*MockDisk) CID

func (m *MockDisk) CID() string

CID mocks base method.

func (*MockDisk) Delete

func (m *MockDisk) Delete() error

Delete mocks base method.

func (*MockDisk) EXPECT

func (m *MockDisk) EXPECT() *MockDiskMockRecorder

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

func (*MockDisk) NeedsMigration

func (m *MockDisk) NeedsMigration(arg0 int, arg1 property.Map) (bool, error)

NeedsMigration mocks base method.

type MockDiskMockRecorder

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

MockDiskMockRecorder is the mock recorder for MockDisk.

func (*MockDiskMockRecorder) CID

func (mr *MockDiskMockRecorder) CID() *gomock.Call

CID indicates an expected call of CID.

func (*MockDiskMockRecorder) Delete

func (mr *MockDiskMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDiskMockRecorder) NeedsMigration

func (mr *MockDiskMockRecorder) NeedsMigration(arg0, arg1 interface{}) *gomock.Call

NeedsMigration indicates an expected call of NeedsMigration.

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) Create

func (m *MockManager) Create(arg0 manifest.DiskPool, arg1 string) (disk.Disk, error)

Create mocks base method.

func (*MockManager) DeleteUnused

func (m *MockManager) DeleteUnused(arg0 ui.Stage) error

DeleteUnused 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) FindCurrent

func (m *MockManager) FindCurrent() ([]disk.Disk, error)

FindCurrent mocks base method.

func (*MockManager) FindUnused

func (m *MockManager) FindUnused() ([]disk.Disk, error)

FindUnused mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) Create

func (mr *MockManagerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockManagerMockRecorder) DeleteUnused

func (mr *MockManagerMockRecorder) DeleteUnused(arg0 interface{}) *gomock.Call

DeleteUnused indicates an expected call of DeleteUnused.

func (*MockManagerMockRecorder) FindCurrent

func (mr *MockManagerMockRecorder) FindCurrent() *gomock.Call

FindCurrent indicates an expected call of FindCurrent.

func (*MockManagerMockRecorder) FindUnused

func (mr *MockManagerMockRecorder) FindUnused() *gomock.Call

FindUnused indicates an expected call of FindUnused.

Jump to

Keyboard shortcuts

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