Documentation ¶
Overview ¶
Package mock_health is a generated GoMock package.
Index ¶
- type MockHealthClient
- type MockHealthClientMockRecorder
- type MockHealth_HealthStreamClient
- func (m *MockHealth_HealthStreamClient) CloseSend() error
- func (m *MockHealth_HealthStreamClient) Context() context.Context
- func (m *MockHealth_HealthStreamClient) EXPECT() *MockHealth_HealthStreamClientMockRecorder
- func (m *MockHealth_HealthStreamClient) Header() (metadata.MD, error)
- func (m *MockHealth_HealthStreamClient) Recv() (*emptypb.Empty, error)
- func (m *MockHealth_HealthStreamClient) RecvMsg(arg0 interface{}) error
- func (m *MockHealth_HealthStreamClient) Send(arg0 *health.NodeStatus) error
- func (m *MockHealth_HealthStreamClient) SendMsg(arg0 interface{}) error
- func (m *MockHealth_HealthStreamClient) Trailer() metadata.MD
- type MockHealth_HealthStreamClientMockRecorder
- func (mr *MockHealth_HealthStreamClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockHealth_HealthStreamClientMockRecorder) Context() *gomock.Call
- func (mr *MockHealth_HealthStreamClientMockRecorder) Header() *gomock.Call
- func (mr *MockHealth_HealthStreamClientMockRecorder) Recv() *gomock.Call
- func (mr *MockHealth_HealthStreamClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockHealth_HealthStreamClientMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockHealth_HealthStreamClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockHealth_HealthStreamClientMockRecorder) Trailer() *gomock.Call
- type MockHealth_HealthStreamServer
- func (m *MockHealth_HealthStreamServer) Context() context.Context
- func (m *MockHealth_HealthStreamServer) EXPECT() *MockHealth_HealthStreamServerMockRecorder
- func (m *MockHealth_HealthStreamServer) Recv() (*health.NodeStatus, error)
- func (m *MockHealth_HealthStreamServer) RecvMsg(arg0 interface{}) error
- func (m *MockHealth_HealthStreamServer) Send(arg0 *emptypb.Empty) error
- func (m *MockHealth_HealthStreamServer) SendHeader(arg0 metadata.MD) error
- func (m *MockHealth_HealthStreamServer) SendMsg(arg0 interface{}) error
- func (m *MockHealth_HealthStreamServer) SetHeader(arg0 metadata.MD) error
- func (m *MockHealth_HealthStreamServer) SetTrailer(arg0 metadata.MD)
- type MockHealth_HealthStreamServerMockRecorder
- func (mr *MockHealth_HealthStreamServerMockRecorder) Context() *gomock.Call
- func (mr *MockHealth_HealthStreamServerMockRecorder) Recv() *gomock.Call
- func (mr *MockHealth_HealthStreamServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockHealth_HealthStreamServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockHealth_HealthStreamServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockHealth_HealthStreamServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockHealth_HealthStreamServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockHealth_HealthStreamServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHealthClient ¶
type MockHealthClient struct {
// contains filtered or unexported fields
}
MockHealthClient is a mock of HealthClient interface
func NewMockHealthClient ¶
func NewMockHealthClient(ctrl *gomock.Controller) *MockHealthClient
NewMockHealthClient creates a new mock instance
func (*MockHealthClient) EXPECT ¶
func (m *MockHealthClient) EXPECT() *MockHealthClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHealthClient) HealthStream ¶
func (m *MockHealthClient) HealthStream(arg0 context.Context, arg1 ...grpc.CallOption) (health.Health_HealthStreamClient, error)
HealthStream mocks base method
type MockHealthClientMockRecorder ¶
type MockHealthClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHealthClientMockRecorder is the mock recorder for MockHealthClient
func (*MockHealthClientMockRecorder) HealthStream ¶
func (mr *MockHealthClientMockRecorder) HealthStream(arg0 interface{}, arg1 ...interface{}) *gomock.Call
HealthStream indicates an expected call of HealthStream
type MockHealth_HealthStreamClient ¶
type MockHealth_HealthStreamClient struct {
// contains filtered or unexported fields
}
MockHealth_HealthStreamClient is a mock of Health_HealthStreamClient interface
func NewMockHealth_HealthStreamClient ¶
func NewMockHealth_HealthStreamClient(ctrl *gomock.Controller) *MockHealth_HealthStreamClient
NewMockHealth_HealthStreamClient creates a new mock instance
func (*MockHealth_HealthStreamClient) CloseSend ¶
func (m *MockHealth_HealthStreamClient) CloseSend() error
CloseSend mocks base method
func (*MockHealth_HealthStreamClient) Context ¶
func (m *MockHealth_HealthStreamClient) Context() context.Context
Context mocks base method
func (*MockHealth_HealthStreamClient) EXPECT ¶
func (m *MockHealth_HealthStreamClient) EXPECT() *MockHealth_HealthStreamClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHealth_HealthStreamClient) Header ¶
func (m *MockHealth_HealthStreamClient) Header() (metadata.MD, error)
Header mocks base method
func (*MockHealth_HealthStreamClient) Recv ¶
func (m *MockHealth_HealthStreamClient) Recv() (*emptypb.Empty, error)
Recv mocks base method
func (*MockHealth_HealthStreamClient) RecvMsg ¶
func (m *MockHealth_HealthStreamClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockHealth_HealthStreamClient) Send ¶
func (m *MockHealth_HealthStreamClient) Send(arg0 *health.NodeStatus) error
Send mocks base method
func (*MockHealth_HealthStreamClient) SendMsg ¶
func (m *MockHealth_HealthStreamClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockHealth_HealthStreamClient) Trailer ¶
func (m *MockHealth_HealthStreamClient) Trailer() metadata.MD
Trailer mocks base method
type MockHealth_HealthStreamClientMockRecorder ¶
type MockHealth_HealthStreamClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHealth_HealthStreamClientMockRecorder is the mock recorder for MockHealth_HealthStreamClient
func (*MockHealth_HealthStreamClientMockRecorder) CloseSend ¶
func (mr *MockHealth_HealthStreamClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend
func (*MockHealth_HealthStreamClientMockRecorder) Context ¶
func (mr *MockHealth_HealthStreamClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockHealth_HealthStreamClientMockRecorder) Header ¶
func (mr *MockHealth_HealthStreamClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockHealth_HealthStreamClientMockRecorder) Recv ¶
func (mr *MockHealth_HealthStreamClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockHealth_HealthStreamClientMockRecorder) RecvMsg ¶
func (mr *MockHealth_HealthStreamClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockHealth_HealthStreamClientMockRecorder) Send ¶
func (mr *MockHealth_HealthStreamClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockHealth_HealthStreamClientMockRecorder) SendMsg ¶
func (mr *MockHealth_HealthStreamClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockHealth_HealthStreamClientMockRecorder) Trailer ¶
func (mr *MockHealth_HealthStreamClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer
type MockHealth_HealthStreamServer ¶
type MockHealth_HealthStreamServer struct {
// contains filtered or unexported fields
}
MockHealth_HealthStreamServer is a mock of Health_HealthStreamServer interface
func NewMockHealth_HealthStreamServer ¶
func NewMockHealth_HealthStreamServer(ctrl *gomock.Controller) *MockHealth_HealthStreamServer
NewMockHealth_HealthStreamServer creates a new mock instance
func (*MockHealth_HealthStreamServer) Context ¶
func (m *MockHealth_HealthStreamServer) Context() context.Context
Context mocks base method
func (*MockHealth_HealthStreamServer) EXPECT ¶
func (m *MockHealth_HealthStreamServer) EXPECT() *MockHealth_HealthStreamServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHealth_HealthStreamServer) Recv ¶
func (m *MockHealth_HealthStreamServer) Recv() (*health.NodeStatus, error)
Recv mocks base method
func (*MockHealth_HealthStreamServer) RecvMsg ¶
func (m *MockHealth_HealthStreamServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockHealth_HealthStreamServer) Send ¶
func (m *MockHealth_HealthStreamServer) Send(arg0 *emptypb.Empty) error
Send mocks base method
func (*MockHealth_HealthStreamServer) SendHeader ¶
func (m *MockHealth_HealthStreamServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method
func (*MockHealth_HealthStreamServer) SendMsg ¶
func (m *MockHealth_HealthStreamServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockHealth_HealthStreamServer) SetHeader ¶
func (m *MockHealth_HealthStreamServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method
func (*MockHealth_HealthStreamServer) SetTrailer ¶
func (m *MockHealth_HealthStreamServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method
type MockHealth_HealthStreamServerMockRecorder ¶
type MockHealth_HealthStreamServerMockRecorder struct {
// contains filtered or unexported fields
}
MockHealth_HealthStreamServerMockRecorder is the mock recorder for MockHealth_HealthStreamServer
func (*MockHealth_HealthStreamServerMockRecorder) Context ¶
func (mr *MockHealth_HealthStreamServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockHealth_HealthStreamServerMockRecorder) Recv ¶
func (mr *MockHealth_HealthStreamServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockHealth_HealthStreamServerMockRecorder) RecvMsg ¶
func (mr *MockHealth_HealthStreamServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockHealth_HealthStreamServerMockRecorder) Send ¶
func (mr *MockHealth_HealthStreamServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockHealth_HealthStreamServerMockRecorder) SendHeader ¶
func (mr *MockHealth_HealthStreamServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader
func (*MockHealth_HealthStreamServerMockRecorder) SendMsg ¶
func (mr *MockHealth_HealthStreamServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockHealth_HealthStreamServerMockRecorder) SetHeader ¶
func (mr *MockHealth_HealthStreamServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader
func (*MockHealth_HealthStreamServerMockRecorder) SetTrailer ¶
func (mr *MockHealth_HealthStreamServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer