mocks

package
v2.0.45+incompatible Latest Latest
Warning

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

Jump to

Keyboard shortcuts

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