mock_reverserpc

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_reverserpc is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChildContext) ID

func (m *MockChildContext) ID() *reverserpc.ID

ID mocks base method.

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

ID indicates an expected call of ID.

func (*MockChildContextMockRecorder) Method

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) Bind

func (m *MockContext) Bind(request any) error

Bind mocks base method.

func (*MockContext) Ctx

func (m *MockContext) Ctx() context.Context

Ctx mocks base method.

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) ID

func (m *MockContext) ID() *reverserpc.ID

ID mocks base method.

func (*MockContext) Method

func (m *MockContext) Method() string

Method 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

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.

func (*MockContextMockRecorder) ReplyOK

func (mr *MockContextMockRecorder) ReplyOK(data any) *gomock.Call

ReplyOK indicates an expected call of ReplyOK.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL