Documentation
¶
Overview ¶
Package mocks_network is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) Connect(arg0 context.Context, arg1, arg2 string) error
- func (m *MockService) Create(arg0 context.Context, arg1 types.NetworkCreateRequest) (types.NetworkCreateResponse, error)
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Inspect(arg0 context.Context, arg1 string) (*types.NetworkInspectResponse, error)
- func (m *MockService) List(arg0 context.Context) ([]*types.NetworkInspectResponse, error)
- func (m *MockService) Remove(arg0 context.Context, arg1 string) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Connect(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) Connect ¶
func (m *MockService) Connect(arg0 context.Context, arg1, arg2 string) error
Connect mocks base method.
func (*MockService) Create ¶
func (m *MockService) Create(arg0 context.Context, arg1 types.NetworkCreateRequest) (types.NetworkCreateResponse, error)
Create mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) Inspect ¶
func (m *MockService) Inspect(arg0 context.Context, arg1 string) (*types.NetworkInspectResponse, error)
Inspect mocks base method.
func (*MockService) List ¶
func (m *MockService) List(arg0 context.Context) ([]*types.NetworkInspectResponse, error)
List mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Connect ¶
func (mr *MockServiceMockRecorder) Connect(arg0, arg1, arg2 interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockServiceMockRecorder) Create ¶
func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockServiceMockRecorder) Inspect ¶
func (mr *MockServiceMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
Inspect indicates an expected call of Inspect.
func (*MockServiceMockRecorder) List ¶
func (mr *MockServiceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockServiceMockRecorder) Remove ¶
func (mr *MockServiceMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
Click to show internal directories.
Click to hide internal directories.