Version: v2.0.45+incompatible Latest Latest

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 4 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type MockCloud

type MockCloud struct {
	// contains filtered or unexported fields

Mock of Cloud interface

func NewMockCloud

func NewMockCloud(ctrl *gomock.Controller) *MockCloud

func (*MockCloud) AttachDisk

func (_m *MockCloud) AttachDisk(_param0 string, _param1 string) error

func (*MockCloud) CreateDisk

func (_m *MockCloud) CreateDisk(_param0 int, _param1 property.Map, _param2 string) (string, error)

func (*MockCloud) CreateStemcell

func (_m *MockCloud) CreateStemcell(_param0 string, _param1 property.Map) (string, error)

func (*MockCloud) CreateVM

func (_m *MockCloud) CreateVM(_param0 string, _param1 string, _param2 property.Map, _param3 map[string]property.Map, _param4 property.Map) (string, error)

func (*MockCloud) DeleteDisk

func (_m *MockCloud) DeleteDisk(_param0 string) error

func (*MockCloud) DeleteStemcell

func (_m *MockCloud) DeleteStemcell(_param0 string) error

func (*MockCloud) DeleteVM

func (_m *MockCloud) DeleteVM(_param0 string) error

func (*MockCloud) DetachDisk

func (_m *MockCloud) DetachDisk(_param0 string, _param1 string) error

func (*MockCloud) EXPECT

func (_m *MockCloud) EXPECT() *_MockCloudRecorder

func (*MockCloud) HasVM

func (_m *MockCloud) HasVM(_param0 string) (bool, error)

func (*MockCloud) SetDiskMetadata

func (_m *MockCloud) SetDiskMetadata(_param0 string, _param1 cloud.DiskMetadata) error

func (*MockCloud) SetVMMetadata

func (_m *MockCloud) SetVMMetadata(_param0 string, _param1 cloud.VMMetadata) error

func (*MockCloud) String

func (_m *MockCloud) String() string

type MockFactory

type MockFactory struct {
	// contains filtered or unexported fields

Mock of Factory interface

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

func (*MockFactory) EXPECT

func (_m *MockFactory) EXPECT() *_MockFactoryRecorder

func (*MockFactory) NewCloud

func (_m *MockFactory) NewCloud(_param0 installation.Installation, _param1 string) (cloud.Cloud, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL