interface_mock

package
v0.0.0-...-9649b88 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPortServiceAPI

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

Mock of PortServiceAPI interface

func NewMockPortServiceAPI

func NewMockPortServiceAPI(ctrl *gomock.Controller) *MockPortServiceAPI

func (*MockPortServiceAPI) AttachPortToVM

func (_m *MockPortServiceAPI) AttachPortToVM(_param0 models.TranID, _param1 *models.PortVMOpsReq) error

func (*MockPortServiceAPI) CreatePort

func (_m *MockPortServiceAPI) CreatePort(_param0 models.TranID, _param1 *models.CreatePortReq) (*mgr_agt.CreatePortResp, error)

func (*MockPortServiceAPI) DeletePort

func (_m *MockPortServiceAPI) DeletePort(_param0 models.TranID, _param1 string) error

func (*MockPortServiceAPI) DetachPortFromVM

func (_m *MockPortServiceAPI) DetachPortFromVM(_param0 models.TranID, _param1 *models.PortVMOpsReq) error

func (*MockPortServiceAPI) EXPECT

func (_m *MockPortServiceAPI) EXPECT() *_MockPortServiceAPIRecorder

Jump to

Keyboard shortcuts

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