Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockNetworkServiceClient
- func (m *MockNetworkServiceClient) Close(ctx context.Context, in *networkservice.Connection, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockNetworkServiceClient) EXPECT() *MockNetworkServiceClientMockRecorder
- func (m *MockNetworkServiceClient) Request(ctx context.Context, in *networkservice.NetworkServiceRequest, ...) (*networkservice.Connection, error)
- type MockNetworkServiceClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetworkServiceClient ¶
type MockNetworkServiceClient struct {
// contains filtered or unexported fields
}
MockNetworkServiceClient is a mock of NetworkServiceClient interface.
func NewMockNetworkServiceClient ¶
func NewMockNetworkServiceClient(ctrl *gomock.Controller) *MockNetworkServiceClient
NewMockNetworkServiceClient creates a new mock instance.
func (*MockNetworkServiceClient) Close ¶
func (m *MockNetworkServiceClient) Close(ctx context.Context, in *networkservice.Connection, opts ...grpc.CallOption) (*emptypb.Empty, error)
Close mocks base method.
func (*MockNetworkServiceClient) EXPECT ¶
func (m *MockNetworkServiceClient) EXPECT() *MockNetworkServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkServiceClient) Request ¶
func (m *MockNetworkServiceClient) Request(ctx context.Context, in *networkservice.NetworkServiceRequest, opts ...grpc.CallOption) (*networkservice.Connection, error)
Request mocks base method.
type MockNetworkServiceClientMockRecorder ¶
type MockNetworkServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkServiceClientMockRecorder is the mock recorder for MockNetworkServiceClient.
func (*MockNetworkServiceClientMockRecorder) Close ¶
func (mr *MockNetworkServiceClientMockRecorder) Close(ctx, in interface{}, opts ...interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockNetworkServiceClientMockRecorder) Request ¶
func (mr *MockNetworkServiceClientMockRecorder) Request(ctx, in interface{}, opts ...interface{}) *gomock.Call
Request indicates an expected call of Request.
Click to show internal directories.
Click to hide internal directories.