mocks

package
v2.0.47+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInstance

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

Mock of Instance interface

func NewMockInstance

func NewMockInstance(ctrl *gomock.Controller) *MockInstance

func (*MockInstance) Delete

func (_m *MockInstance) Delete(_param0 time.Duration, _param1 time.Duration, _param2 ui.Stage) error

func (*MockInstance) Disks

func (_m *MockInstance) Disks() ([]disk.Disk, error)

func (*MockInstance) EXPECT

func (_m *MockInstance) EXPECT() *_MockInstanceRecorder

func (*MockInstance) ID

func (_m *MockInstance) ID() int

func (*MockInstance) JobName

func (_m *MockInstance) JobName() string

func (*MockInstance) UpdateDisks

func (_m *MockInstance) UpdateDisks(_param0 manifest.Manifest, _param1 ui.Stage) ([]disk.Disk, error)

func (*MockInstance) UpdateJobs

func (_m *MockInstance) UpdateJobs(_param0 manifest.Manifest, _param1 ui.Stage) error

func (*MockInstance) WaitUntilReady

func (_m *MockInstance) WaitUntilReady(_param0 manifest0.Registry, _param1 ui.Stage) error

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 string, _param1 int, _param2 manifest.Manifest, _param3 stemcell.CloudStemcell, _param4 manifest0.Registry, _param5 ui.Stage) (instance.Instance, []disk.Disk, error)

func (*MockManager) DeleteAll

func (_m *MockManager) DeleteAll(_param0 time.Duration, _param1 time.Duration, _param2 ui.Stage) error

func (*MockManager) EXPECT

func (_m *MockManager) EXPECT() *_MockManagerRecorder

func (*MockManager) FindCurrent

func (_m *MockManager) FindCurrent() ([]instance.Instance, error)

Jump to

Keyboard shortcuts

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