Documentation ¶
Overview ¶
Package mock_protobuf is a generated GoMock package.
Package mock_protobuf is a generated GoMock package.
Package mock_protobuf is a generated GoMock package.
Index ¶
- type MockInterpreterClient
- func (m *MockInterpreterClient) EXPECT() *MockInterpreterClientMockRecorder
- func (m *MockInterpreterClient) GetBoundTree(arg0 context.Context, arg1 *protobuf.BindReq, arg2 ...grpc.CallOption) (*protobuf.BoundTreeRsp, error)
- func (m *MockInterpreterClient) StreamBoundTree(arg0 context.Context, arg1 *protobuf.BindReq, arg2 ...grpc.CallOption) (protobuf.Interpreter_StreamBoundTreeClient, error)
- type MockInterpreterClientMockRecorder
- type MockResolverClient
- func (m *MockResolverClient) EXPECT() *MockResolverClientMockRecorder
- func (m *MockResolverClient) GetReplicas(arg0 context.Context, arg1 *protobuf.ReplicasReq, arg2 ...grpc.CallOption) (*protobuf.Replicas, error)
- func (m *MockResolverClient) StreamReplicas(arg0 context.Context, arg1 *protobuf.ReplicasReq, arg2 ...grpc.CallOption) (protobuf.Resolver_StreamReplicasClient, error)
- type MockResolverClientMockRecorder
- type MockResolver_StreamReplicasClient
- func (m *MockResolver_StreamReplicasClient) CloseSend() error
- func (m *MockResolver_StreamReplicasClient) Context() context.Context
- func (m *MockResolver_StreamReplicasClient) EXPECT() *MockResolver_StreamReplicasClientMockRecorder
- func (m *MockResolver_StreamReplicasClient) Header() (metadata.MD, error)
- func (m *MockResolver_StreamReplicasClient) Recv() (*protobuf.Replicas, error)
- func (m *MockResolver_StreamReplicasClient) RecvMsg(arg0 interface{}) error
- func (m *MockResolver_StreamReplicasClient) SendMsg(arg0 interface{}) error
- func (m *MockResolver_StreamReplicasClient) Trailer() metadata.MD
- type MockResolver_StreamReplicasClientMockRecorder
- func (mr *MockResolver_StreamReplicasClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockResolver_StreamReplicasClientMockRecorder) Context() *gomock.Call
- func (mr *MockResolver_StreamReplicasClientMockRecorder) Header() *gomock.Call
- func (mr *MockResolver_StreamReplicasClientMockRecorder) Recv() *gomock.Call
- func (mr *MockResolver_StreamReplicasClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockResolver_StreamReplicasClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockResolver_StreamReplicasClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterpreterClient ¶
type MockInterpreterClient struct {
// contains filtered or unexported fields
}
MockInterpreterClient is a mock of InterpreterClient interface
func NewMockInterpreterClient ¶
func NewMockInterpreterClient(ctrl *gomock.Controller) *MockInterpreterClient
NewMockInterpreterClient creates a new mock instance
func (*MockInterpreterClient) EXPECT ¶
func (m *MockInterpreterClient) EXPECT() *MockInterpreterClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInterpreterClient) GetBoundTree ¶
func (m *MockInterpreterClient) GetBoundTree(arg0 context.Context, arg1 *protobuf.BindReq, arg2 ...grpc.CallOption) (*protobuf.BoundTreeRsp, error)
GetBoundTree mocks base method
func (*MockInterpreterClient) StreamBoundTree ¶
func (m *MockInterpreterClient) StreamBoundTree(arg0 context.Context, arg1 *protobuf.BindReq, arg2 ...grpc.CallOption) (protobuf.Interpreter_StreamBoundTreeClient, error)
StreamBoundTree mocks base method
type MockInterpreterClientMockRecorder ¶
type MockInterpreterClientMockRecorder struct {
// contains filtered or unexported fields
}
MockInterpreterClientMockRecorder is the mock recorder for MockInterpreterClient
func (*MockInterpreterClientMockRecorder) GetBoundTree ¶
func (mr *MockInterpreterClientMockRecorder) GetBoundTree(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetBoundTree indicates an expected call of GetBoundTree
func (*MockInterpreterClientMockRecorder) StreamBoundTree ¶
func (mr *MockInterpreterClientMockRecorder) StreamBoundTree(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
StreamBoundTree indicates an expected call of StreamBoundTree
type MockResolverClient ¶
type MockResolverClient struct {
// contains filtered or unexported fields
}
MockResolverClient is a mock of ResolverClient interface
func NewMockResolverClient ¶
func NewMockResolverClient(ctrl *gomock.Controller) *MockResolverClient
NewMockResolverClient creates a new mock instance
func (*MockResolverClient) EXPECT ¶
func (m *MockResolverClient) EXPECT() *MockResolverClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResolverClient) GetReplicas ¶
func (m *MockResolverClient) GetReplicas(arg0 context.Context, arg1 *protobuf.ReplicasReq, arg2 ...grpc.CallOption) (*protobuf.Replicas, error)
GetReplicas mocks base method
func (*MockResolverClient) StreamReplicas ¶
func (m *MockResolverClient) StreamReplicas(arg0 context.Context, arg1 *protobuf.ReplicasReq, arg2 ...grpc.CallOption) (protobuf.Resolver_StreamReplicasClient, error)
StreamReplicas mocks base method
type MockResolverClientMockRecorder ¶
type MockResolverClientMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverClientMockRecorder is the mock recorder for MockResolverClient
func (*MockResolverClientMockRecorder) GetReplicas ¶
func (mr *MockResolverClientMockRecorder) GetReplicas(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetReplicas indicates an expected call of GetReplicas
func (*MockResolverClientMockRecorder) StreamReplicas ¶
func (mr *MockResolverClientMockRecorder) StreamReplicas(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
StreamReplicas indicates an expected call of StreamReplicas
type MockResolver_StreamReplicasClient ¶
type MockResolver_StreamReplicasClient struct {
// contains filtered or unexported fields
}
MockResolver_StreamReplicasClient is a mock of Resolver_StreamReplicasClient interface
func NewMockResolver_StreamReplicasClient ¶
func NewMockResolver_StreamReplicasClient(ctrl *gomock.Controller) *MockResolver_StreamReplicasClient
NewMockResolver_StreamReplicasClient creates a new mock instance
func (*MockResolver_StreamReplicasClient) CloseSend ¶
func (m *MockResolver_StreamReplicasClient) CloseSend() error
CloseSend mocks base method
func (*MockResolver_StreamReplicasClient) Context ¶
func (m *MockResolver_StreamReplicasClient) Context() context.Context
Context mocks base method
func (*MockResolver_StreamReplicasClient) EXPECT ¶
func (m *MockResolver_StreamReplicasClient) EXPECT() *MockResolver_StreamReplicasClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResolver_StreamReplicasClient) Header ¶
func (m *MockResolver_StreamReplicasClient) Header() (metadata.MD, error)
Header mocks base method
func (*MockResolver_StreamReplicasClient) Recv ¶
func (m *MockResolver_StreamReplicasClient) Recv() (*protobuf.Replicas, error)
Recv mocks base method
func (*MockResolver_StreamReplicasClient) RecvMsg ¶
func (m *MockResolver_StreamReplicasClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockResolver_StreamReplicasClient) SendMsg ¶
func (m *MockResolver_StreamReplicasClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockResolver_StreamReplicasClient) Trailer ¶
func (m *MockResolver_StreamReplicasClient) Trailer() metadata.MD
Trailer mocks base method
type MockResolver_StreamReplicasClientMockRecorder ¶
type MockResolver_StreamReplicasClientMockRecorder struct {
// contains filtered or unexported fields
}
MockResolver_StreamReplicasClientMockRecorder is the mock recorder for MockResolver_StreamReplicasClient
func (*MockResolver_StreamReplicasClientMockRecorder) CloseSend ¶
func (mr *MockResolver_StreamReplicasClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend
func (*MockResolver_StreamReplicasClientMockRecorder) Context ¶
func (mr *MockResolver_StreamReplicasClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockResolver_StreamReplicasClientMockRecorder) Header ¶
func (mr *MockResolver_StreamReplicasClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockResolver_StreamReplicasClientMockRecorder) Recv ¶
func (mr *MockResolver_StreamReplicasClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockResolver_StreamReplicasClientMockRecorder) RecvMsg ¶
func (mr *MockResolver_StreamReplicasClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockResolver_StreamReplicasClientMockRecorder) SendMsg ¶
func (mr *MockResolver_StreamReplicasClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockResolver_StreamReplicasClientMockRecorder) Trailer ¶
func (mr *MockResolver_StreamReplicasClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer