Documentation
¶
Overview ¶
Package mock_reverserpc is a generated GoMock package.
Index ¶
- type MockChildContext
- func (m *MockChildContext) Bind(request any) error
- func (m *MockChildContext) EXPECT() *MockChildContextMockRecorder
- func (m *MockChildContext) ID() *reverserpc.ID
- func (m *MockChildContext) Method() string
- func (m *MockChildContext) PrometheusLabels() prometheus.Labels
- func (m *MockChildContext) Reply(res *reverserpc.Response) bool
- func (m *MockChildContext) ReplyDesc() string
- type MockChildContextMockRecorder
- func (mr *MockChildContextMockRecorder) Bind(request any) *gomock.Call
- func (mr *MockChildContextMockRecorder) ID() *gomock.Call
- func (mr *MockChildContextMockRecorder) Method() *gomock.Call
- func (mr *MockChildContextMockRecorder) PrometheusLabels() *gomock.Call
- func (mr *MockChildContextMockRecorder) Reply(res any) *gomock.Call
- func (mr *MockChildContextMockRecorder) ReplyDesc() *gomock.Call
- type MockContext
- func (m *MockContext) Bind(request any) error
- func (m *MockContext) Ctx() context.Context
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) GetResponse() *reverserpc.Response
- func (m *MockContext) ID() *reverserpc.ID
- func (m *MockContext) Method() string
- func (m *MockContext) PrometheusLabels() prometheus.Labels
- func (m *MockContext) Reply(res *reverserpc.Response) bool
- func (m *MockContext) ReplyDesc() string
- func (m *MockContext) ReplyError(status int, err error) bool
- func (m *MockContext) ReplyOK(data any) bool
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) Bind(request any) *gomock.Call
- func (mr *MockContextMockRecorder) Ctx() *gomock.Call
- func (mr *MockContextMockRecorder) GetResponse() *gomock.Call
- func (mr *MockContextMockRecorder) ID() *gomock.Call
- func (mr *MockContextMockRecorder) Method() *gomock.Call
- func (mr *MockContextMockRecorder) PrometheusLabels() *gomock.Call
- func (mr *MockContextMockRecorder) Reply(res any) *gomock.Call
- func (mr *MockContextMockRecorder) ReplyDesc() *gomock.Call
- func (mr *MockContextMockRecorder) ReplyError(status, err any) *gomock.Call
- func (mr *MockContextMockRecorder) ReplyOK(data any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChildContext ¶
type MockChildContext struct {
// contains filtered or unexported fields
}
MockChildContext is a mock of ChildContext interface.
func NewMockChildContext ¶
func NewMockChildContext(ctrl *gomock.Controller) *MockChildContext
NewMockChildContext creates a new mock instance.
func (*MockChildContext) Bind ¶
func (m *MockChildContext) Bind(request any) error
Bind mocks base method.
func (*MockChildContext) EXPECT ¶
func (m *MockChildContext) EXPECT() *MockChildContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChildContext) Method ¶
func (m *MockChildContext) Method() string
Method mocks base method.
func (*MockChildContext) PrometheusLabels ¶
func (m *MockChildContext) PrometheusLabels() prometheus.Labels
PrometheusLabels mocks base method.
func (*MockChildContext) Reply ¶
func (m *MockChildContext) Reply(res *reverserpc.Response) bool
Reply mocks base method.
func (*MockChildContext) ReplyDesc ¶
func (m *MockChildContext) ReplyDesc() string
ReplyDesc mocks base method.
type MockChildContextMockRecorder ¶
type MockChildContextMockRecorder struct {
// contains filtered or unexported fields
}
MockChildContextMockRecorder is the mock recorder for MockChildContext.
func (*MockChildContextMockRecorder) Bind ¶
func (mr *MockChildContextMockRecorder) Bind(request any) *gomock.Call
Bind indicates an expected call of Bind.
func (*MockChildContextMockRecorder) ID ¶
func (mr *MockChildContextMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockChildContextMockRecorder) Method ¶
func (mr *MockChildContextMockRecorder) Method() *gomock.Call
Method indicates an expected call of Method.
func (*MockChildContextMockRecorder) PrometheusLabels ¶
func (mr *MockChildContextMockRecorder) PrometheusLabels() *gomock.Call
PrometheusLabels indicates an expected call of PrometheusLabels.
func (*MockChildContextMockRecorder) Reply ¶
func (mr *MockChildContextMockRecorder) Reply(res any) *gomock.Call
Reply indicates an expected call of Reply.
func (*MockChildContextMockRecorder) ReplyDesc ¶
func (mr *MockChildContextMockRecorder) ReplyDesc() *gomock.Call
ReplyDesc indicates an expected call of ReplyDesc.
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface.
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance.
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContext) GetResponse ¶
func (m *MockContext) GetResponse() *reverserpc.Response
GetResponse mocks base method.
func (*MockContext) PrometheusLabels ¶
func (m *MockContext) PrometheusLabels() prometheus.Labels
PrometheusLabels mocks base method.
func (*MockContext) Reply ¶
func (m *MockContext) Reply(res *reverserpc.Response) bool
Reply mocks base method.
func (*MockContext) ReplyDesc ¶
func (m *MockContext) ReplyDesc() string
ReplyDesc mocks base method.
func (*MockContext) ReplyError ¶
func (m *MockContext) ReplyError(status int, err error) bool
ReplyError mocks base method.
func (*MockContext) ReplyOK ¶
func (m *MockContext) ReplyOK(data any) bool
ReplyOK mocks base method.
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext.
func (*MockContextMockRecorder) Bind ¶
func (mr *MockContextMockRecorder) Bind(request any) *gomock.Call
Bind indicates an expected call of Bind.
func (*MockContextMockRecorder) Ctx ¶
func (mr *MockContextMockRecorder) Ctx() *gomock.Call
Ctx indicates an expected call of Ctx.
func (*MockContextMockRecorder) GetResponse ¶
func (mr *MockContextMockRecorder) GetResponse() *gomock.Call
GetResponse indicates an expected call of GetResponse.
func (*MockContextMockRecorder) ID ¶
func (mr *MockContextMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockContextMockRecorder) Method ¶
func (mr *MockContextMockRecorder) Method() *gomock.Call
Method indicates an expected call of Method.
func (*MockContextMockRecorder) PrometheusLabels ¶
func (mr *MockContextMockRecorder) PrometheusLabels() *gomock.Call
PrometheusLabels indicates an expected call of PrometheusLabels.
func (*MockContextMockRecorder) Reply ¶
func (mr *MockContextMockRecorder) Reply(res any) *gomock.Call
Reply indicates an expected call of Reply.
func (*MockContextMockRecorder) ReplyDesc ¶
func (mr *MockContextMockRecorder) ReplyDesc() *gomock.Call
ReplyDesc indicates an expected call of ReplyDesc.
func (*MockContextMockRecorder) ReplyError ¶
func (mr *MockContextMockRecorder) ReplyError(status, err any) *gomock.Call
ReplyError indicates an expected call of ReplyError.