mocks

package
v0.0.147 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) 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)

Jump to

Keyboard shortcuts

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