Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDisk
- type MockDiskMockRecorder
- type MockManager
- func (m *MockManager) Create(arg0 manifest.DiskPool, arg1 string) (disk.Disk, error)
- func (m *MockManager) DeleteUnused(arg0 ui.Stage) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) FindCurrent() ([]disk.Disk, error)
- func (m *MockManager) FindUnused() ([]disk.Disk, error)
- type MockManagerMockRecorder
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) EXPECT ¶
func (m *MockDisk) EXPECT() *MockDiskMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) 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