mocks

package
v6.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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
}

MockCloud is a mock of Cloud interface

func NewMockCloud

func NewMockCloud(ctrl *gomock.Controller) *MockCloud

NewMockCloud creates a new mock instance

func (*MockCloud) AttachDisk

func (m *MockCloud) AttachDisk(arg0, arg1 string) (interface{}, error)

AttachDisk mocks base method

func (*MockCloud) CreateDisk

func (m *MockCloud) CreateDisk(arg0 int, arg1 property.Map, arg2 string) (string, error)

CreateDisk mocks base method

func (*MockCloud) CreateStemcell

func (m *MockCloud) CreateStemcell(arg0 string, arg1 property.Map) (string, error)

CreateStemcell mocks base method

func (*MockCloud) CreateVM

func (m *MockCloud) CreateVM(arg0, arg1 string, arg2 property.Map, arg3 map[string]property.Map, arg4 property.Map) (string, error)

CreateVM mocks base method

func (*MockCloud) DeleteDisk

func (m *MockCloud) DeleteDisk(arg0 string) error

DeleteDisk mocks base method

func (*MockCloud) DeleteStemcell

func (m *MockCloud) DeleteStemcell(arg0 string) error

DeleteStemcell mocks base method

func (*MockCloud) DeleteVM

func (m *MockCloud) DeleteVM(arg0 string) error

DeleteVM mocks base method

func (*MockCloud) DetachDisk

func (m *MockCloud) DetachDisk(arg0, arg1 string) error

DetachDisk mocks base method

func (*MockCloud) EXPECT

func (m *MockCloud) EXPECT() *MockCloudMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCloud) HasVM

func (m *MockCloud) HasVM(arg0 string) (bool, error)

HasVM mocks base method

func (*MockCloud) Info

func (m *MockCloud) Info() (cloud.CpiInfo, error)

Info mocks base method

func (*MockCloud) SetDiskMetadata

func (m *MockCloud) SetDiskMetadata(arg0 string, arg1 cloud.DiskMetadata) error

SetDiskMetadata mocks base method

func (*MockCloud) SetVMMetadata

func (m *MockCloud) SetVMMetadata(arg0 string, arg1 cloud.VMMetadata) error

SetVMMetadata mocks base method

func (*MockCloud) String

func (m *MockCloud) String() string

String mocks base method

type MockCloudMockRecorder

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

MockCloudMockRecorder is the mock recorder for MockCloud

func (*MockCloudMockRecorder) AttachDisk

func (mr *MockCloudMockRecorder) AttachDisk(arg0, arg1 interface{}) *gomock.Call

AttachDisk indicates an expected call of AttachDisk

func (*MockCloudMockRecorder) CreateDisk

func (mr *MockCloudMockRecorder) CreateDisk(arg0, arg1, arg2 interface{}) *gomock.Call

CreateDisk indicates an expected call of CreateDisk

func (*MockCloudMockRecorder) CreateStemcell

func (mr *MockCloudMockRecorder) CreateStemcell(arg0, arg1 interface{}) *gomock.Call

CreateStemcell indicates an expected call of CreateStemcell

func (*MockCloudMockRecorder) CreateVM

func (mr *MockCloudMockRecorder) CreateVM(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CreateVM indicates an expected call of CreateVM

func (*MockCloudMockRecorder) DeleteDisk

func (mr *MockCloudMockRecorder) DeleteDisk(arg0 interface{}) *gomock.Call

DeleteDisk indicates an expected call of DeleteDisk

func (*MockCloudMockRecorder) DeleteStemcell

func (mr *MockCloudMockRecorder) DeleteStemcell(arg0 interface{}) *gomock.Call

DeleteStemcell indicates an expected call of DeleteStemcell

func (*MockCloudMockRecorder) DeleteVM

func (mr *MockCloudMockRecorder) DeleteVM(arg0 interface{}) *gomock.Call

DeleteVM indicates an expected call of DeleteVM

func (*MockCloudMockRecorder) DetachDisk

func (mr *MockCloudMockRecorder) DetachDisk(arg0, arg1 interface{}) *gomock.Call

DetachDisk indicates an expected call of DetachDisk

func (*MockCloudMockRecorder) HasVM

func (mr *MockCloudMockRecorder) HasVM(arg0 interface{}) *gomock.Call

HasVM indicates an expected call of HasVM

func (*MockCloudMockRecorder) Info

func (mr *MockCloudMockRecorder) Info() *gomock.Call

Info indicates an expected call of Info

func (*MockCloudMockRecorder) SetDiskMetadata

func (mr *MockCloudMockRecorder) SetDiskMetadata(arg0, arg1 interface{}) *gomock.Call

SetDiskMetadata indicates an expected call of SetDiskMetadata

func (*MockCloudMockRecorder) SetVMMetadata

func (mr *MockCloudMockRecorder) SetVMMetadata(arg0, arg1 interface{}) *gomock.Call

SetVMMetadata indicates an expected call of SetVMMetadata

func (*MockCloudMockRecorder) String

func (mr *MockCloudMockRecorder) String() *gomock.Call

String indicates an expected call of String

type MockFactory

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

MockFactory is a mock of Factory interface

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFactory) NewCloud

func (m *MockFactory) NewCloud(arg0 installation.Installation, arg1 string, arg2 int) (cloud.Cloud, error)

NewCloud mocks base method

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory

func (*MockFactoryMockRecorder) NewCloud

func (mr *MockFactoryMockRecorder) NewCloud(arg0, arg1, arg2 interface{}) *gomock.Call

NewCloud indicates an expected call of NewCloud

Jump to

Keyboard shortcuts

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