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
- type MockNPBackendClient
- type MockNPBackendClientMockRecorder
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.
type MockNPBackendClient ¶ added in v1.17.1
type MockNPBackendClient struct {
// contains filtered or unexported fields
}
MockNPBackendClient is a mock of NPBackendClient interface.
func NewMockNPBackendClient ¶ added in v1.17.1
func NewMockNPBackendClient(ctrl *gomock.Controller) *MockNPBackendClient
NewMockNPBackendClient creates a new mock instance.
func (*MockNPBackendClient) EXPECT ¶ added in v1.17.1
func (m *MockNPBackendClient) EXPECT() *MockNPBackendClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNPBackendClient) EnforceNpToPod ¶ added in v1.17.1
func (m *MockNPBackendClient) EnforceNpToPod(arg0 context.Context, arg1 *rpc.EnforceNpRequest, arg2 ...grpc.CallOption) (*rpc.EnforceNpReply, error)
EnforceNpToPod mocks base method.
type MockNPBackendClientMockRecorder ¶ added in v1.17.1
type MockNPBackendClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNPBackendClientMockRecorder is the mock recorder for MockNPBackendClient.
func (*MockNPBackendClientMockRecorder) EnforceNpToPod ¶ added in v1.17.1
func (mr *MockNPBackendClientMockRecorder) EnforceNpToPod(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
EnforceNpToPod indicates an expected call of EnforceNpToPod.