Documentation
¶
Overview ¶
Package mock_ext is a generated GoMock package.
Index ¶
- type MockExt2Client
- type MockExt2ClientMockRecorder
- type MockExt2Server
- type MockExt2ServerMockRecorder
- type MockExtClient
- type MockExtClientMockRecorder
- type MockExtServer
- type MockExtServerMockRecorder
- type MockUnsafeExt2Server
- type MockUnsafeExt2ServerMockRecorder
- type MockUnsafeExtServer
- type MockUnsafeExtServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExt2Client ¶
type MockExt2Client struct {
// contains filtered or unexported fields
}
MockExt2Client is a mock of Ext2Client interface.
func NewMockExt2Client ¶
func NewMockExt2Client(ctrl *gomock.Controller) *MockExt2Client
NewMockExt2Client creates a new mock instance.
func (*MockExt2Client) EXPECT ¶
func (m *MockExt2Client) EXPECT() *MockExt2ClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExt2Client) Foo ¶
func (m *MockExt2Client) Foo(ctx context.Context, in *ext.FooRequest, opts ...grpc.CallOption) (*ext.FooResponse, error)
Foo mocks base method.
type MockExt2ClientMockRecorder ¶
type MockExt2ClientMockRecorder struct {
// contains filtered or unexported fields
}
MockExt2ClientMockRecorder is the mock recorder for MockExt2Client.
func (*MockExt2ClientMockRecorder) Foo ¶
func (mr *MockExt2ClientMockRecorder) Foo(ctx, in interface{}, opts ...interface{}) *gomock.Call
Foo indicates an expected call of Foo.
type MockExt2Server ¶
type MockExt2Server struct {
// contains filtered or unexported fields
}
MockExt2Server is a mock of Ext2Server interface.
func NewMockExt2Server ¶
func NewMockExt2Server(ctrl *gomock.Controller) *MockExt2Server
NewMockExt2Server creates a new mock instance.
func (*MockExt2Server) EXPECT ¶
func (m *MockExt2Server) EXPECT() *MockExt2ServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExt2Server) Foo ¶
func (m *MockExt2Server) Foo(arg0 context.Context, arg1 *ext.FooRequest) (*ext.FooResponse, error)
Foo mocks base method.
type MockExt2ServerMockRecorder ¶
type MockExt2ServerMockRecorder struct {
// contains filtered or unexported fields
}
MockExt2ServerMockRecorder is the mock recorder for MockExt2Server.
func (*MockExt2ServerMockRecorder) Foo ¶
func (mr *MockExt2ServerMockRecorder) Foo(arg0, arg1 interface{}) *gomock.Call
Foo indicates an expected call of Foo.
type MockExtClient ¶
type MockExtClient struct {
// contains filtered or unexported fields
}
MockExtClient is a mock of ExtClient interface.
func NewMockExtClient ¶
func NewMockExtClient(ctrl *gomock.Controller) *MockExtClient
NewMockExtClient creates a new mock instance.
func (*MockExtClient) Bar ¶ added in v0.7.0
func (m *MockExtClient) Bar(ctx context.Context, in *ext.BarRequest, opts ...grpc.CallOption) (*ext.BarResponse, error)
Bar mocks base method.
func (*MockExtClient) EXPECT ¶
func (m *MockExtClient) EXPECT() *MockExtClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExtClient) Foo ¶
func (m *MockExtClient) Foo(ctx context.Context, in *ext.FooRequest, opts ...grpc.CallOption) (*ext.FooResponse, error)
Foo mocks base method.
type MockExtClientMockRecorder ¶
type MockExtClientMockRecorder struct {
// contains filtered or unexported fields
}
MockExtClientMockRecorder is the mock recorder for MockExtClient.
func (*MockExtClientMockRecorder) Bar ¶ added in v0.7.0
func (mr *MockExtClientMockRecorder) Bar(ctx, in interface{}, opts ...interface{}) *gomock.Call
Bar indicates an expected call of Bar.
func (*MockExtClientMockRecorder) Foo ¶
func (mr *MockExtClientMockRecorder) Foo(ctx, in interface{}, opts ...interface{}) *gomock.Call
Foo indicates an expected call of Foo.
type MockExtServer ¶
type MockExtServer struct {
// contains filtered or unexported fields
}
MockExtServer is a mock of ExtServer interface.
func NewMockExtServer ¶
func NewMockExtServer(ctrl *gomock.Controller) *MockExtServer
NewMockExtServer creates a new mock instance.
func (*MockExtServer) Bar ¶ added in v0.7.0
func (m *MockExtServer) Bar(arg0 context.Context, arg1 *ext.BarRequest) (*ext.BarResponse, error)
Bar mocks base method.
func (*MockExtServer) EXPECT ¶
func (m *MockExtServer) EXPECT() *MockExtServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExtServer) Foo ¶
func (m *MockExtServer) Foo(arg0 context.Context, arg1 *ext.FooRequest) (*ext.FooResponse, error)
Foo mocks base method.
type MockExtServerMockRecorder ¶
type MockExtServerMockRecorder struct {
// contains filtered or unexported fields
}
MockExtServerMockRecorder is the mock recorder for MockExtServer.
func (*MockExtServerMockRecorder) Bar ¶ added in v0.7.0
func (mr *MockExtServerMockRecorder) Bar(arg0, arg1 interface{}) *gomock.Call
Bar indicates an expected call of Bar.
func (*MockExtServerMockRecorder) Foo ¶
func (mr *MockExtServerMockRecorder) Foo(arg0, arg1 interface{}) *gomock.Call
Foo indicates an expected call of Foo.
type MockUnsafeExt2Server ¶
type MockUnsafeExt2Server struct {
// contains filtered or unexported fields
}
MockUnsafeExt2Server is a mock of UnsafeExt2Server interface.
func NewMockUnsafeExt2Server ¶
func NewMockUnsafeExt2Server(ctrl *gomock.Controller) *MockUnsafeExt2Server
NewMockUnsafeExt2Server creates a new mock instance.
func (*MockUnsafeExt2Server) EXPECT ¶
func (m *MockUnsafeExt2Server) EXPECT() *MockUnsafeExt2ServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeExt2ServerMockRecorder ¶
type MockUnsafeExt2ServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeExt2ServerMockRecorder is the mock recorder for MockUnsafeExt2Server.
type MockUnsafeExtServer ¶
type MockUnsafeExtServer struct {
// contains filtered or unexported fields
}
MockUnsafeExtServer is a mock of UnsafeExtServer interface.
func NewMockUnsafeExtServer ¶
func NewMockUnsafeExtServer(ctrl *gomock.Controller) *MockUnsafeExtServer
NewMockUnsafeExtServer creates a new mock instance.
func (*MockUnsafeExtServer) EXPECT ¶
func (m *MockUnsafeExtServer) EXPECT() *MockUnsafeExtServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeExtServerMockRecorder ¶
type MockUnsafeExtServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeExtServerMockRecorder is the mock recorder for MockUnsafeExtServer.