Documentation ¶
Overview ¶
Package mock_registry is a generated GoMock package.
Index ¶
- type MockRegistryClient
- func (m *MockRegistryClient) EXPECT() *MockRegistryClientMockRecorder
- func (m *MockRegistryClient) List(ctx context.Context, in *registry.ListRequest, opts ...grpc.CallOption) (*registry.ServiceList, error)
- func (m *MockRegistryClient) Report(ctx context.Context, in *registry.RegisterRequest, opts ...grpc.CallOption) (*registry.RegisterResponse, error)
- func (m *MockRegistryClient) Watch(ctx context.Context, in *registry.ListRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[registry.ServiceList], error)
- type MockRegistryClientMockRecorder
- type MockRegistryServer
- func (m *MockRegistryServer) EXPECT() *MockRegistryServerMockRecorder
- func (m *MockRegistryServer) List(arg0 context.Context, arg1 *registry.ListRequest) (*registry.ServiceList, error)
- func (m *MockRegistryServer) Report(arg0 context.Context, arg1 *registry.RegisterRequest) (*registry.RegisterResponse, error)
- func (m *MockRegistryServer) Watch(arg0 *registry.ListRequest, ...) error
- type MockRegistryServerMockRecorder
- type MockUnsafeRegistryServer
- type MockUnsafeRegistryServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRegistryClient ¶
type MockRegistryClient struct {
// contains filtered or unexported fields
}
MockRegistryClient is a mock of RegistryClient interface.
func NewMockRegistryClient ¶
func NewMockRegistryClient(ctrl *gomock.Controller) *MockRegistryClient
NewMockRegistryClient creates a new mock instance.
func (*MockRegistryClient) EXPECT ¶
func (m *MockRegistryClient) EXPECT() *MockRegistryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistryClient) List ¶
func (m *MockRegistryClient) List(ctx context.Context, in *registry.ListRequest, opts ...grpc.CallOption) (*registry.ServiceList, error)
List mocks base method.
func (*MockRegistryClient) Report ¶
func (m *MockRegistryClient) Report(ctx context.Context, in *registry.RegisterRequest, opts ...grpc.CallOption) (*registry.RegisterResponse, error)
Report mocks base method.
func (*MockRegistryClient) Watch ¶
func (m *MockRegistryClient) Watch(ctx context.Context, in *registry.ListRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[registry.ServiceList], error)
Watch mocks base method.
type MockRegistryClientMockRecorder ¶
type MockRegistryClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryClientMockRecorder is the mock recorder for MockRegistryClient.
func (*MockRegistryClientMockRecorder) List ¶
func (mr *MockRegistryClientMockRecorder) List(ctx, in any, opts ...any) *gomock.Call
List indicates an expected call of List.
type MockRegistryServer ¶
type MockRegistryServer struct {
// contains filtered or unexported fields
}
MockRegistryServer is a mock of RegistryServer interface.
func NewMockRegistryServer ¶
func NewMockRegistryServer(ctrl *gomock.Controller) *MockRegistryServer
NewMockRegistryServer creates a new mock instance.
func (*MockRegistryServer) EXPECT ¶
func (m *MockRegistryServer) EXPECT() *MockRegistryServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistryServer) List ¶
func (m *MockRegistryServer) List(arg0 context.Context, arg1 *registry.ListRequest) (*registry.ServiceList, error)
List mocks base method.
func (*MockRegistryServer) Report ¶
func (m *MockRegistryServer) Report(arg0 context.Context, arg1 *registry.RegisterRequest) (*registry.RegisterResponse, error)
Report mocks base method.
func (*MockRegistryServer) Watch ¶
func (m *MockRegistryServer) Watch(arg0 *registry.ListRequest, arg1 grpc.ServerStreamingServer[registry.ServiceList]) error
Watch mocks base method.
type MockRegistryServerMockRecorder ¶
type MockRegistryServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryServerMockRecorder is the mock recorder for MockRegistryServer.
func (*MockRegistryServerMockRecorder) List ¶
func (mr *MockRegistryServerMockRecorder) List(arg0, arg1 any) *gomock.Call
List indicates an expected call of List.
type MockUnsafeRegistryServer ¶
type MockUnsafeRegistryServer struct {
// contains filtered or unexported fields
}
MockUnsafeRegistryServer is a mock of UnsafeRegistryServer interface.
func NewMockUnsafeRegistryServer ¶
func NewMockUnsafeRegistryServer(ctrl *gomock.Controller) *MockUnsafeRegistryServer
NewMockUnsafeRegistryServer creates a new mock instance.
func (*MockUnsafeRegistryServer) EXPECT ¶
func (m *MockUnsafeRegistryServer) EXPECT() *MockUnsafeRegistryServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeRegistryServerMockRecorder ¶
type MockUnsafeRegistryServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeRegistryServerMockRecorder is the mock recorder for MockUnsafeRegistryServer.