Documentation ¶
Overview ¶
Package nodenetsvc_v0_mock is a generated GoMock package.
Index ¶
- type MockNodeNetworkServiceClient
- func (m *MockNodeNetworkServiceClient) ConfigureContainerNetworking(ctx context.Context, in *v0.ConfigureContainerNetworkingRequest, ...) (*v0.ConfigureContainerNetworkingResponse, error)
- func (m *MockNodeNetworkServiceClient) ConfigureNetworking(ctx context.Context, in *v0.ConfigureNetworkingRequest, ...) (*v0.ConfigureNetworkingResponse, error)
- func (m *MockNodeNetworkServiceClient) EXPECT() *MockNodeNetworkServiceClientMockRecorder
- func (m *MockNodeNetworkServiceClient) GetHostLocalIpAddress(ctx context.Context, in *v0.GetHostLocalIpAddressRequest, ...) (*v0.GetHostLocalIpAddressResponse, error)
- func (m *MockNodeNetworkServiceClient) PingNodeNetworkService(ctx context.Context, in *v0.PingNodeNetworkServiceRequest, ...) (*v0.PingNodeNetworkServiceResponse, error)
- type MockNodeNetworkServiceClientMockRecorder
- func (mr *MockNodeNetworkServiceClientMockRecorder) ConfigureContainerNetworking(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockNodeNetworkServiceClientMockRecorder) ConfigureNetworking(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockNodeNetworkServiceClientMockRecorder) GetHostLocalIpAddress(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockNodeNetworkServiceClientMockRecorder) PingNodeNetworkService(ctx, in any, opts ...any) *gomock.Call
- type MockNodeNetworkServiceServer
- func (m *MockNodeNetworkServiceServer) ConfigureContainerNetworking(arg0 context.Context, arg1 *v0.ConfigureContainerNetworkingRequest) (*v0.ConfigureContainerNetworkingResponse, error)
- func (m *MockNodeNetworkServiceServer) ConfigureNetworking(arg0 context.Context, arg1 *v0.ConfigureNetworkingRequest) (*v0.ConfigureNetworkingResponse, error)
- func (m *MockNodeNetworkServiceServer) EXPECT() *MockNodeNetworkServiceServerMockRecorder
- func (m *MockNodeNetworkServiceServer) GetHostLocalIpAddress(arg0 context.Context, arg1 *v0.GetHostLocalIpAddressRequest) (*v0.GetHostLocalIpAddressResponse, error)
- func (m *MockNodeNetworkServiceServer) PingNodeNetworkService(arg0 context.Context, arg1 *v0.PingNodeNetworkServiceRequest) (*v0.PingNodeNetworkServiceResponse, error)
- type MockNodeNetworkServiceServerMockRecorder
- func (mr *MockNodeNetworkServiceServerMockRecorder) ConfigureContainerNetworking(arg0, arg1 any) *gomock.Call
- func (mr *MockNodeNetworkServiceServerMockRecorder) ConfigureNetworking(arg0, arg1 any) *gomock.Call
- func (mr *MockNodeNetworkServiceServerMockRecorder) GetHostLocalIpAddress(arg0, arg1 any) *gomock.Call
- func (mr *MockNodeNetworkServiceServerMockRecorder) PingNodeNetworkService(arg0, arg1 any) *gomock.Call
- type MockUnsafeNodeNetworkServiceServer
- type MockUnsafeNodeNetworkServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNodeNetworkServiceClient ¶
type MockNodeNetworkServiceClient struct {
// contains filtered or unexported fields
}
MockNodeNetworkServiceClient is a mock of NodeNetworkServiceClient interface.
func NewMockNodeNetworkServiceClient ¶
func NewMockNodeNetworkServiceClient(ctrl *gomock.Controller) *MockNodeNetworkServiceClient
NewMockNodeNetworkServiceClient creates a new mock instance.
func (*MockNodeNetworkServiceClient) ConfigureContainerNetworking ¶
func (m *MockNodeNetworkServiceClient) ConfigureContainerNetworking(ctx context.Context, in *v0.ConfigureContainerNetworkingRequest, opts ...grpc.CallOption) (*v0.ConfigureContainerNetworkingResponse, error)
ConfigureContainerNetworking mocks base method.
func (*MockNodeNetworkServiceClient) ConfigureNetworking ¶
func (m *MockNodeNetworkServiceClient) ConfigureNetworking(ctx context.Context, in *v0.ConfigureNetworkingRequest, opts ...grpc.CallOption) (*v0.ConfigureNetworkingResponse, error)
ConfigureNetworking mocks base method.
func (*MockNodeNetworkServiceClient) EXPECT ¶
func (m *MockNodeNetworkServiceClient) EXPECT() *MockNodeNetworkServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeNetworkServiceClient) GetHostLocalIpAddress ¶
func (m *MockNodeNetworkServiceClient) GetHostLocalIpAddress(ctx context.Context, in *v0.GetHostLocalIpAddressRequest, opts ...grpc.CallOption) (*v0.GetHostLocalIpAddressResponse, error)
GetHostLocalIpAddress mocks base method.
func (*MockNodeNetworkServiceClient) PingNodeNetworkService ¶
func (m *MockNodeNetworkServiceClient) PingNodeNetworkService(ctx context.Context, in *v0.PingNodeNetworkServiceRequest, opts ...grpc.CallOption) (*v0.PingNodeNetworkServiceResponse, error)
PingNodeNetworkService mocks base method.
type MockNodeNetworkServiceClientMockRecorder ¶
type MockNodeNetworkServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeNetworkServiceClientMockRecorder is the mock recorder for MockNodeNetworkServiceClient.
func (*MockNodeNetworkServiceClientMockRecorder) ConfigureContainerNetworking ¶
func (mr *MockNodeNetworkServiceClientMockRecorder) ConfigureContainerNetworking(ctx, in any, opts ...any) *gomock.Call
ConfigureContainerNetworking indicates an expected call of ConfigureContainerNetworking.
func (*MockNodeNetworkServiceClientMockRecorder) ConfigureNetworking ¶
func (mr *MockNodeNetworkServiceClientMockRecorder) ConfigureNetworking(ctx, in any, opts ...any) *gomock.Call
ConfigureNetworking indicates an expected call of ConfigureNetworking.
func (*MockNodeNetworkServiceClientMockRecorder) GetHostLocalIpAddress ¶
func (mr *MockNodeNetworkServiceClientMockRecorder) GetHostLocalIpAddress(ctx, in any, opts ...any) *gomock.Call
GetHostLocalIpAddress indicates an expected call of GetHostLocalIpAddress.
func (*MockNodeNetworkServiceClientMockRecorder) PingNodeNetworkService ¶
func (mr *MockNodeNetworkServiceClientMockRecorder) PingNodeNetworkService(ctx, in any, opts ...any) *gomock.Call
PingNodeNetworkService indicates an expected call of PingNodeNetworkService.
type MockNodeNetworkServiceServer ¶
type MockNodeNetworkServiceServer struct {
// contains filtered or unexported fields
}
MockNodeNetworkServiceServer is a mock of NodeNetworkServiceServer interface.
func NewMockNodeNetworkServiceServer ¶
func NewMockNodeNetworkServiceServer(ctrl *gomock.Controller) *MockNodeNetworkServiceServer
NewMockNodeNetworkServiceServer creates a new mock instance.
func (*MockNodeNetworkServiceServer) ConfigureContainerNetworking ¶
func (m *MockNodeNetworkServiceServer) ConfigureContainerNetworking(arg0 context.Context, arg1 *v0.ConfigureContainerNetworkingRequest) (*v0.ConfigureContainerNetworkingResponse, error)
ConfigureContainerNetworking mocks base method.
func (*MockNodeNetworkServiceServer) ConfigureNetworking ¶
func (m *MockNodeNetworkServiceServer) ConfigureNetworking(arg0 context.Context, arg1 *v0.ConfigureNetworkingRequest) (*v0.ConfigureNetworkingResponse, error)
ConfigureNetworking mocks base method.
func (*MockNodeNetworkServiceServer) EXPECT ¶
func (m *MockNodeNetworkServiceServer) EXPECT() *MockNodeNetworkServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeNetworkServiceServer) GetHostLocalIpAddress ¶
func (m *MockNodeNetworkServiceServer) GetHostLocalIpAddress(arg0 context.Context, arg1 *v0.GetHostLocalIpAddressRequest) (*v0.GetHostLocalIpAddressResponse, error)
GetHostLocalIpAddress mocks base method.
func (*MockNodeNetworkServiceServer) PingNodeNetworkService ¶
func (m *MockNodeNetworkServiceServer) PingNodeNetworkService(arg0 context.Context, arg1 *v0.PingNodeNetworkServiceRequest) (*v0.PingNodeNetworkServiceResponse, error)
PingNodeNetworkService mocks base method.
type MockNodeNetworkServiceServerMockRecorder ¶
type MockNodeNetworkServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeNetworkServiceServerMockRecorder is the mock recorder for MockNodeNetworkServiceServer.
func (*MockNodeNetworkServiceServerMockRecorder) ConfigureContainerNetworking ¶
func (mr *MockNodeNetworkServiceServerMockRecorder) ConfigureContainerNetworking(arg0, arg1 any) *gomock.Call
ConfigureContainerNetworking indicates an expected call of ConfigureContainerNetworking.
func (*MockNodeNetworkServiceServerMockRecorder) ConfigureNetworking ¶
func (mr *MockNodeNetworkServiceServerMockRecorder) ConfigureNetworking(arg0, arg1 any) *gomock.Call
ConfigureNetworking indicates an expected call of ConfigureNetworking.
func (*MockNodeNetworkServiceServerMockRecorder) GetHostLocalIpAddress ¶
func (mr *MockNodeNetworkServiceServerMockRecorder) GetHostLocalIpAddress(arg0, arg1 any) *gomock.Call
GetHostLocalIpAddress indicates an expected call of GetHostLocalIpAddress.
func (*MockNodeNetworkServiceServerMockRecorder) PingNodeNetworkService ¶
func (mr *MockNodeNetworkServiceServerMockRecorder) PingNodeNetworkService(arg0, arg1 any) *gomock.Call
PingNodeNetworkService indicates an expected call of PingNodeNetworkService.
type MockUnsafeNodeNetworkServiceServer ¶
type MockUnsafeNodeNetworkServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeNodeNetworkServiceServer is a mock of UnsafeNodeNetworkServiceServer interface.
func NewMockUnsafeNodeNetworkServiceServer ¶
func NewMockUnsafeNodeNetworkServiceServer(ctrl *gomock.Controller) *MockUnsafeNodeNetworkServiceServer
NewMockUnsafeNodeNetworkServiceServer creates a new mock instance.
func (*MockUnsafeNodeNetworkServiceServer) EXPECT ¶
func (m *MockUnsafeNodeNetworkServiceServer) EXPECT() *MockUnsafeNodeNetworkServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeNodeNetworkServiceServerMockRecorder ¶
type MockUnsafeNodeNetworkServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeNodeNetworkServiceServerMockRecorder is the mock recorder for MockUnsafeNodeNetworkServiceServer.