mocks

package
v0.0.63 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

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
}

Mock of Disk interface

func NewMockDisk

func NewMockDisk(ctrl *gomock.Controller) *MockDisk

func (*MockDisk) CID

func (_m *MockDisk) CID() string

func (*MockDisk) Delete

func (_m *MockDisk) Delete() error

func (*MockDisk) EXPECT

func (_m *MockDisk) EXPECT() *_MockDiskRecorder

func (*MockDisk) NeedsMigration

func (_m *MockDisk) NeedsMigration(_param0 int, _param1 property.Map) bool

type MockManager

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

Mock of Manager interface

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

func (*MockManager) Create

func (_m *MockManager) Create(_param0 manifest.DiskPool, _param1 string) (disk.Disk, error)

func (*MockManager) DeleteUnused

func (_m *MockManager) DeleteUnused(_param0 ui.Stage) error

func (*MockManager) EXPECT

func (_m *MockManager) EXPECT() *_MockManagerRecorder

func (*MockManager) FindCurrent

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

func (*MockManager) FindUnused

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

Jump to

Keyboard shortcuts

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