mock_ext

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_ext is a generated GoMock package.

Index

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

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

func (*MockExt2Client) Foo

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

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

Bar mocks base method.

func (*MockExtClient) Baz added in v0.8.0

func (m *MockExtClient) Baz(ctx context.Context, in *ext.BazRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

Baz mocks base method.

func (*MockExtClient) ClientStream added in v0.8.2

func (m *MockExtClient) ClientStream(ctx context.Context, opts ...grpc.CallOption) (ext.Ext_ClientStreamClient, error)

ClientStream mocks base method.

func (*MockExtClient) EXPECT

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

func (*MockExtClient) Foo

Foo mocks base method.

func (*MockExtClient) ServerStream added in v0.8.2

func (m *MockExtClient) ServerStream(ctx context.Context, in *ext.FooRequest, opts ...grpc.CallOption) (ext.Ext_ServerStreamClient, error)

ServerStream 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) Baz added in v0.8.0

func (mr *MockExtClientMockRecorder) Baz(ctx, in interface{}, opts ...interface{}) *gomock.Call

Baz indicates an expected call of Baz.

func (*MockExtClientMockRecorder) ClientStream added in v0.8.2

func (mr *MockExtClientMockRecorder) ClientStream(ctx interface{}, opts ...interface{}) *gomock.Call

ClientStream indicates an expected call of ClientStream.

func (*MockExtClientMockRecorder) Foo

func (mr *MockExtClientMockRecorder) Foo(ctx, in interface{}, opts ...interface{}) *gomock.Call

Foo indicates an expected call of Foo.

func (*MockExtClientMockRecorder) ServerStream added in v0.8.2

func (mr *MockExtClientMockRecorder) ServerStream(ctx, in interface{}, opts ...interface{}) *gomock.Call

ServerStream indicates an expected call of ServerStream.

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) Baz added in v0.8.0

func (m *MockExtServer) Baz(arg0 context.Context, arg1 *ext.BazRequest) (*emptypb.Empty, error)

Baz mocks base method.

func (*MockExtServer) ClientStream added in v0.8.2

func (m *MockExtServer) ClientStream(arg0 ext.Ext_ClientStreamServer) error

ClientStream mocks base method.

func (*MockExtServer) EXPECT

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.

func (*MockExtServer) ServerStream added in v0.8.2

func (m *MockExtServer) ServerStream(arg0 *ext.FooRequest, arg1 ext.Ext_ServerStreamServer) error

ServerStream 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) Baz added in v0.8.0

func (mr *MockExtServerMockRecorder) Baz(arg0, arg1 interface{}) *gomock.Call

Baz indicates an expected call of Baz.

func (*MockExtServerMockRecorder) ClientStream added in v0.8.2

func (mr *MockExtServerMockRecorder) ClientStream(arg0 interface{}) *gomock.Call

ClientStream indicates an expected call of ClientStream.

func (*MockExtServerMockRecorder) Foo

func (mr *MockExtServerMockRecorder) Foo(arg0, arg1 interface{}) *gomock.Call

Foo indicates an expected call of Foo.

func (*MockExtServerMockRecorder) ServerStream added in v0.8.2

func (mr *MockExtServerMockRecorder) ServerStream(arg0, arg1 interface{}) *gomock.Call

ServerStream indicates an expected call of ServerStream.

type MockExt_ClientStreamClient added in v0.8.2

type MockExt_ClientStreamClient struct {
	// contains filtered or unexported fields
}

MockExt_ClientStreamClient is a mock of Ext_ClientStreamClient interface.

func NewMockExt_ClientStreamClient added in v0.8.2

func NewMockExt_ClientStreamClient(ctrl *gomock.Controller) *MockExt_ClientStreamClient

NewMockExt_ClientStreamClient creates a new mock instance.

func (*MockExt_ClientStreamClient) CloseAndRecv added in v0.8.2

func (m *MockExt_ClientStreamClient) CloseAndRecv() (*ext.FooResponse, error)

CloseAndRecv mocks base method.

func (*MockExt_ClientStreamClient) CloseSend added in v0.8.2

func (m *MockExt_ClientStreamClient) CloseSend() error

CloseSend mocks base method.

func (*MockExt_ClientStreamClient) Context added in v0.8.2

Context mocks base method.

func (*MockExt_ClientStreamClient) EXPECT added in v0.8.2

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

func (*MockExt_ClientStreamClient) Header added in v0.8.2

Header mocks base method.

func (*MockExt_ClientStreamClient) RecvMsg added in v0.8.2

func (m_2 *MockExt_ClientStreamClient) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockExt_ClientStreamClient) Send added in v0.8.2

Send mocks base method.

func (*MockExt_ClientStreamClient) SendMsg added in v0.8.2

func (m_2 *MockExt_ClientStreamClient) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockExt_ClientStreamClient) Trailer added in v0.8.2

func (m *MockExt_ClientStreamClient) Trailer() metadata.MD

Trailer mocks base method.

type MockExt_ClientStreamClientMockRecorder added in v0.8.2

type MockExt_ClientStreamClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockExt_ClientStreamClientMockRecorder is the mock recorder for MockExt_ClientStreamClient.

func (*MockExt_ClientStreamClientMockRecorder) CloseAndRecv added in v0.8.2

CloseAndRecv indicates an expected call of CloseAndRecv.

func (*MockExt_ClientStreamClientMockRecorder) CloseSend added in v0.8.2

CloseSend indicates an expected call of CloseSend.

func (*MockExt_ClientStreamClientMockRecorder) Context added in v0.8.2

Context indicates an expected call of Context.

func (*MockExt_ClientStreamClientMockRecorder) Header added in v0.8.2

Header indicates an expected call of Header.

func (*MockExt_ClientStreamClientMockRecorder) RecvMsg added in v0.8.2

func (mr *MockExt_ClientStreamClientMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockExt_ClientStreamClientMockRecorder) Send added in v0.8.2

func (mr *MockExt_ClientStreamClientMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockExt_ClientStreamClientMockRecorder) SendMsg added in v0.8.2

func (mr *MockExt_ClientStreamClientMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockExt_ClientStreamClientMockRecorder) Trailer added in v0.8.2

Trailer indicates an expected call of Trailer.

type MockExt_ClientStreamServer added in v0.8.2

type MockExt_ClientStreamServer struct {
	// contains filtered or unexported fields
}

MockExt_ClientStreamServer is a mock of Ext_ClientStreamServer interface.

func NewMockExt_ClientStreamServer added in v0.8.2

func NewMockExt_ClientStreamServer(ctrl *gomock.Controller) *MockExt_ClientStreamServer

NewMockExt_ClientStreamServer creates a new mock instance.

func (*MockExt_ClientStreamServer) Context added in v0.8.2

Context mocks base method.

func (*MockExt_ClientStreamServer) EXPECT added in v0.8.2

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

func (*MockExt_ClientStreamServer) Recv added in v0.8.2

Recv mocks base method.

func (*MockExt_ClientStreamServer) RecvMsg added in v0.8.2

func (m_2 *MockExt_ClientStreamServer) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockExt_ClientStreamServer) SendAndClose added in v0.8.2

func (m *MockExt_ClientStreamServer) SendAndClose(arg0 *ext.FooResponse) error

SendAndClose mocks base method.

func (*MockExt_ClientStreamServer) SendHeader added in v0.8.2

func (m *MockExt_ClientStreamServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockExt_ClientStreamServer) SendMsg added in v0.8.2

func (m_2 *MockExt_ClientStreamServer) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockExt_ClientStreamServer) SetHeader added in v0.8.2

func (m *MockExt_ClientStreamServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockExt_ClientStreamServer) SetTrailer added in v0.8.2

func (m *MockExt_ClientStreamServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockExt_ClientStreamServerMockRecorder added in v0.8.2

type MockExt_ClientStreamServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockExt_ClientStreamServerMockRecorder is the mock recorder for MockExt_ClientStreamServer.

func (*MockExt_ClientStreamServerMockRecorder) Context added in v0.8.2

Context indicates an expected call of Context.

func (*MockExt_ClientStreamServerMockRecorder) Recv added in v0.8.2

Recv indicates an expected call of Recv.

func (*MockExt_ClientStreamServerMockRecorder) RecvMsg added in v0.8.2

func (mr *MockExt_ClientStreamServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockExt_ClientStreamServerMockRecorder) SendAndClose added in v0.8.2

func (mr *MockExt_ClientStreamServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call

SendAndClose indicates an expected call of SendAndClose.

func (*MockExt_ClientStreamServerMockRecorder) SendHeader added in v0.8.2

func (mr *MockExt_ClientStreamServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockExt_ClientStreamServerMockRecorder) SendMsg added in v0.8.2

func (mr *MockExt_ClientStreamServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockExt_ClientStreamServerMockRecorder) SetHeader added in v0.8.2

func (mr *MockExt_ClientStreamServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockExt_ClientStreamServerMockRecorder) SetTrailer added in v0.8.2

func (mr *MockExt_ClientStreamServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockExt_ServerStreamClient added in v0.8.2

type MockExt_ServerStreamClient struct {
	// contains filtered or unexported fields
}

MockExt_ServerStreamClient is a mock of Ext_ServerStreamClient interface.

func NewMockExt_ServerStreamClient added in v0.8.2

func NewMockExt_ServerStreamClient(ctrl *gomock.Controller) *MockExt_ServerStreamClient

NewMockExt_ServerStreamClient creates a new mock instance.

func (*MockExt_ServerStreamClient) CloseSend added in v0.8.2

func (m *MockExt_ServerStreamClient) CloseSend() error

CloseSend mocks base method.

func (*MockExt_ServerStreamClient) Context added in v0.8.2

Context mocks base method.

func (*MockExt_ServerStreamClient) EXPECT added in v0.8.2

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

func (*MockExt_ServerStreamClient) Header added in v0.8.2

Header mocks base method.

func (*MockExt_ServerStreamClient) Recv added in v0.8.2

Recv mocks base method.

func (*MockExt_ServerStreamClient) RecvMsg added in v0.8.2

func (m_2 *MockExt_ServerStreamClient) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockExt_ServerStreamClient) SendMsg added in v0.8.2

func (m_2 *MockExt_ServerStreamClient) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockExt_ServerStreamClient) Trailer added in v0.8.2

func (m *MockExt_ServerStreamClient) Trailer() metadata.MD

Trailer mocks base method.

type MockExt_ServerStreamClientMockRecorder added in v0.8.2

type MockExt_ServerStreamClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockExt_ServerStreamClientMockRecorder is the mock recorder for MockExt_ServerStreamClient.

func (*MockExt_ServerStreamClientMockRecorder) CloseSend added in v0.8.2

CloseSend indicates an expected call of CloseSend.

func (*MockExt_ServerStreamClientMockRecorder) Context added in v0.8.2

Context indicates an expected call of Context.

func (*MockExt_ServerStreamClientMockRecorder) Header added in v0.8.2

Header indicates an expected call of Header.

func (*MockExt_ServerStreamClientMockRecorder) Recv added in v0.8.2

Recv indicates an expected call of Recv.

func (*MockExt_ServerStreamClientMockRecorder) RecvMsg added in v0.8.2

func (mr *MockExt_ServerStreamClientMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockExt_ServerStreamClientMockRecorder) SendMsg added in v0.8.2

func (mr *MockExt_ServerStreamClientMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockExt_ServerStreamClientMockRecorder) Trailer added in v0.8.2

Trailer indicates an expected call of Trailer.

type MockExt_ServerStreamServer added in v0.8.2

type MockExt_ServerStreamServer struct {
	// contains filtered or unexported fields
}

MockExt_ServerStreamServer is a mock of Ext_ServerStreamServer interface.

func NewMockExt_ServerStreamServer added in v0.8.2

func NewMockExt_ServerStreamServer(ctrl *gomock.Controller) *MockExt_ServerStreamServer

NewMockExt_ServerStreamServer creates a new mock instance.

func (*MockExt_ServerStreamServer) Context added in v0.8.2

Context mocks base method.

func (*MockExt_ServerStreamServer) EXPECT added in v0.8.2

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

func (*MockExt_ServerStreamServer) RecvMsg added in v0.8.2

func (m_2 *MockExt_ServerStreamServer) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockExt_ServerStreamServer) Send added in v0.8.2

Send mocks base method.

func (*MockExt_ServerStreamServer) SendHeader added in v0.8.2

func (m *MockExt_ServerStreamServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockExt_ServerStreamServer) SendMsg added in v0.8.2

func (m_2 *MockExt_ServerStreamServer) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockExt_ServerStreamServer) SetHeader added in v0.8.2

func (m *MockExt_ServerStreamServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockExt_ServerStreamServer) SetTrailer added in v0.8.2

func (m *MockExt_ServerStreamServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockExt_ServerStreamServerMockRecorder added in v0.8.2

type MockExt_ServerStreamServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockExt_ServerStreamServerMockRecorder is the mock recorder for MockExt_ServerStreamServer.

func (*MockExt_ServerStreamServerMockRecorder) Context added in v0.8.2

Context indicates an expected call of Context.

func (*MockExt_ServerStreamServerMockRecorder) RecvMsg added in v0.8.2

func (mr *MockExt_ServerStreamServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockExt_ServerStreamServerMockRecorder) Send added in v0.8.2

func (mr *MockExt_ServerStreamServerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockExt_ServerStreamServerMockRecorder) SendHeader added in v0.8.2

func (mr *MockExt_ServerStreamServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockExt_ServerStreamServerMockRecorder) SendMsg added in v0.8.2

func (mr *MockExt_ServerStreamServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockExt_ServerStreamServerMockRecorder) SetHeader added in v0.8.2

func (mr *MockExt_ServerStreamServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockExt_ServerStreamServerMockRecorder) SetTrailer added in v0.8.2

func (mr *MockExt_ServerStreamServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

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

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

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.

Jump to

Keyboard shortcuts

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