mocks

package
v2.0.31+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2017 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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