Documentation ¶
Overview ¶
Package mock_rpc is a generated GoMock package.
Index ¶
- type MockCNIBackendClient
- func (m *MockCNIBackendClient) AddNetwork(arg0 context.Context, arg1 *rpc.AddNetworkRequest, arg2 ...grpc.CallOption) (*rpc.AddNetworkReply, error)
- func (m *MockCNIBackendClient) DelNetwork(arg0 context.Context, arg1 *rpc.DelNetworkRequest, arg2 ...grpc.CallOption) (*rpc.DelNetworkReply, error)
- func (m *MockCNIBackendClient) EXPECT() *MockCNIBackendClientMockRecorder
- type MockCNIBackendClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCNIBackendClient ¶
type MockCNIBackendClient struct {
// contains filtered or unexported fields
}
MockCNIBackendClient is a mock of CNIBackendClient interface
func NewMockCNIBackendClient ¶
func NewMockCNIBackendClient(ctrl *gomock.Controller) *MockCNIBackendClient
NewMockCNIBackendClient creates a new mock instance
func (*MockCNIBackendClient) AddNetwork ¶
func (m *MockCNIBackendClient) AddNetwork(arg0 context.Context, arg1 *rpc.AddNetworkRequest, arg2 ...grpc.CallOption) (*rpc.AddNetworkReply, error)
AddNetwork mocks base method
func (*MockCNIBackendClient) DelNetwork ¶
func (m *MockCNIBackendClient) DelNetwork(arg0 context.Context, arg1 *rpc.DelNetworkRequest, arg2 ...grpc.CallOption) (*rpc.DelNetworkReply, error)
DelNetwork mocks base method
func (*MockCNIBackendClient) EXPECT ¶
func (m *MockCNIBackendClient) EXPECT() *MockCNIBackendClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCNIBackendClientMockRecorder ¶
type MockCNIBackendClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCNIBackendClientMockRecorder is the mock recorder for MockCNIBackendClient
func (*MockCNIBackendClientMockRecorder) AddNetwork ¶
func (mr *MockCNIBackendClientMockRecorder) AddNetwork(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AddNetwork indicates an expected call of AddNetwork
func (*MockCNIBackendClientMockRecorder) DelNetwork ¶
func (mr *MockCNIBackendClientMockRecorder) DelNetwork(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DelNetwork indicates an expected call of DelNetwork
Click to show internal directories.
Click to hide internal directories.