Documentation ¶
Overview ¶
Mocks for GitLab access RPC.
Package mock_gitlab_access is a generated GoMock package.
Package mock_gitlab_access is a generated GoMock package.
Index ¶
- type GitlabAccess_MakeRequestClient
- type MockGitlabAccessClient
- type MockGitlabAccessClientMakeRequestCall
- func (c *MockGitlabAccessClientMakeRequestCall) Do(...) *MockGitlabAccessClientMakeRequestCall
- func (c *MockGitlabAccessClientMakeRequestCall) DoAndReturn(...) *MockGitlabAccessClientMakeRequestCall
- func (c *MockGitlabAccessClientMakeRequestCall) Return(arg0 grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], ...) *MockGitlabAccessClientMakeRequestCall
- type MockGitlabAccessClientMockRecorder
- type MockGitlabAccessServer
- type MockGitlabAccessServerMakeRequestCall
- func (c *MockGitlabAccessServerMakeRequestCall) Do(...) *MockGitlabAccessServerMakeRequestCall
- func (c *MockGitlabAccessServerMakeRequestCall) DoAndReturn(...) *MockGitlabAccessServerMakeRequestCall
- func (c *MockGitlabAccessServerMakeRequestCall) Return(arg0 error) *MockGitlabAccessServerMakeRequestCall
- type MockGitlabAccessServerMockRecorder
- type MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
- func (c *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Do(f func()) *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
- func (c *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) DoAndReturn(f func()) *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
- func (c *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Return() *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
- type MockGitlabAccess_MakeRequestClient
- func (m *MockGitlabAccess_MakeRequestClient) CloseSend() error
- func (m *MockGitlabAccess_MakeRequestClient) Context() context.Context
- func (m *MockGitlabAccess_MakeRequestClient) EXPECT() *MockGitlabAccess_MakeRequestClientMockRecorder
- func (m *MockGitlabAccess_MakeRequestClient) Header() (metadata.MD, error)
- func (m *MockGitlabAccess_MakeRequestClient) Recv() (*grpctool.HttpResponse, error)
- func (m_2 *MockGitlabAccess_MakeRequestClient) RecvMsg(m any) error
- func (m *MockGitlabAccess_MakeRequestClient) Send(arg0 *grpctool.HttpRequest) error
- func (m_2 *MockGitlabAccess_MakeRequestClient) SendMsg(m any) error
- func (m *MockGitlabAccess_MakeRequestClient) Trailer() metadata.MD
- type MockGitlabAccess_MakeRequestClientCloseSendCall
- func (c *MockGitlabAccess_MakeRequestClientCloseSendCall) Do(f func() error) *MockGitlabAccess_MakeRequestClientCloseSendCall
- func (c *MockGitlabAccess_MakeRequestClientCloseSendCall) DoAndReturn(f func() error) *MockGitlabAccess_MakeRequestClientCloseSendCall
- func (c *MockGitlabAccess_MakeRequestClientCloseSendCall) Return(arg0 error) *MockGitlabAccess_MakeRequestClientCloseSendCall
- type MockGitlabAccess_MakeRequestClientContextCall
- func (c *MockGitlabAccess_MakeRequestClientContextCall) Do(f func() context.Context) *MockGitlabAccess_MakeRequestClientContextCall
- func (c *MockGitlabAccess_MakeRequestClientContextCall) DoAndReturn(f func() context.Context) *MockGitlabAccess_MakeRequestClientContextCall
- func (c *MockGitlabAccess_MakeRequestClientContextCall) Return(arg0 context.Context) *MockGitlabAccess_MakeRequestClientContextCall
- type MockGitlabAccess_MakeRequestClientHeaderCall
- func (c *MockGitlabAccess_MakeRequestClientHeaderCall) Do(f func() (metadata.MD, error)) *MockGitlabAccess_MakeRequestClientHeaderCall
- func (c *MockGitlabAccess_MakeRequestClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockGitlabAccess_MakeRequestClientHeaderCall
- func (c *MockGitlabAccess_MakeRequestClientHeaderCall) Return(arg0 metadata.MD, arg1 error) *MockGitlabAccess_MakeRequestClientHeaderCall
- type MockGitlabAccess_MakeRequestClientMockRecorder
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) CloseSend() *MockGitlabAccess_MakeRequestClientCloseSendCall
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Context() *MockGitlabAccess_MakeRequestClientContextCall
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Header() *MockGitlabAccess_MakeRequestClientHeaderCall
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Recv() *MockGitlabAccess_MakeRequestClientRecvCall
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) RecvMsg(m any) *MockGitlabAccess_MakeRequestClientRecvMsgCall
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Send(arg0 any) *MockGitlabAccess_MakeRequestClientSendCall
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) SendMsg(m any) *MockGitlabAccess_MakeRequestClientSendMsgCall
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Trailer() *MockGitlabAccess_MakeRequestClientTrailerCall
- type MockGitlabAccess_MakeRequestClientRecvCall
- func (c *MockGitlabAccess_MakeRequestClientRecvCall) Do(f func() (*grpctool.HttpResponse, error)) *MockGitlabAccess_MakeRequestClientRecvCall
- func (c *MockGitlabAccess_MakeRequestClientRecvCall) DoAndReturn(f func() (*grpctool.HttpResponse, error)) *MockGitlabAccess_MakeRequestClientRecvCall
- func (c *MockGitlabAccess_MakeRequestClientRecvCall) Return(arg0 *grpctool.HttpResponse, arg1 error) *MockGitlabAccess_MakeRequestClientRecvCall
- type MockGitlabAccess_MakeRequestClientRecvMsgCall
- func (c *MockGitlabAccess_MakeRequestClientRecvMsgCall) Do(f func(any) error) *MockGitlabAccess_MakeRequestClientRecvMsgCall
- func (c *MockGitlabAccess_MakeRequestClientRecvMsgCall) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestClientRecvMsgCall
- func (c *MockGitlabAccess_MakeRequestClientRecvMsgCall) Return(arg0 error) *MockGitlabAccess_MakeRequestClientRecvMsgCall
- type MockGitlabAccess_MakeRequestClientSendCall
- func (c *MockGitlabAccess_MakeRequestClientSendCall) Do(f func(*grpctool.HttpRequest) error) *MockGitlabAccess_MakeRequestClientSendCall
- func (c *MockGitlabAccess_MakeRequestClientSendCall) DoAndReturn(f func(*grpctool.HttpRequest) error) *MockGitlabAccess_MakeRequestClientSendCall
- func (c *MockGitlabAccess_MakeRequestClientSendCall) Return(arg0 error) *MockGitlabAccess_MakeRequestClientSendCall
- type MockGitlabAccess_MakeRequestClientSendMsgCall
- func (c *MockGitlabAccess_MakeRequestClientSendMsgCall) Do(f func(any) error) *MockGitlabAccess_MakeRequestClientSendMsgCall
- func (c *MockGitlabAccess_MakeRequestClientSendMsgCall) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestClientSendMsgCall
- func (c *MockGitlabAccess_MakeRequestClientSendMsgCall) Return(arg0 error) *MockGitlabAccess_MakeRequestClientSendMsgCall
- type MockGitlabAccess_MakeRequestClientTrailerCall
- func (c *MockGitlabAccess_MakeRequestClientTrailerCall) Do(f func() metadata.MD) *MockGitlabAccess_MakeRequestClientTrailerCall
- func (c *MockGitlabAccess_MakeRequestClientTrailerCall) DoAndReturn(f func() metadata.MD) *MockGitlabAccess_MakeRequestClientTrailerCall
- func (c *MockGitlabAccess_MakeRequestClientTrailerCall) Return(arg0 metadata.MD) *MockGitlabAccess_MakeRequestClientTrailerCall
- type MockUnsafeGitlabAccessServer
- type MockUnsafeGitlabAccessServerMockRecorder
- type MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
- func (c *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Do(f func()) *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
- func (c *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) DoAndReturn(f func()) *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
- func (c *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Return() *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitlabAccess_MakeRequestClient ¶ added in v17.3.0
type GitlabAccess_MakeRequestClient interface { grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse] }
Workaround for https://github.com/uber-go/mock/issues/197.
type MockGitlabAccessClient ¶
type MockGitlabAccessClient struct {
// contains filtered or unexported fields
}
MockGitlabAccessClient is a mock of GitlabAccessClient interface.
func NewMockGitlabAccessClient ¶
func NewMockGitlabAccessClient(ctrl *gomock.Controller) *MockGitlabAccessClient
NewMockGitlabAccessClient creates a new mock instance.
func (*MockGitlabAccessClient) EXPECT ¶
func (m *MockGitlabAccessClient) EXPECT() *MockGitlabAccessClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitlabAccessClient) MakeRequest ¶
func (m *MockGitlabAccessClient) MakeRequest(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], error)
MakeRequest mocks base method.
type MockGitlabAccessClientMakeRequestCall ¶
MockGitlabAccessClientMakeRequestCall wrap *gomock.Call
func (*MockGitlabAccessClientMakeRequestCall) Do ¶
func (c *MockGitlabAccessClientMakeRequestCall) Do(f func(context.Context, ...grpc.CallOption) (grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], error)) *MockGitlabAccessClientMakeRequestCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccessClientMakeRequestCall) DoAndReturn ¶
func (c *MockGitlabAccessClientMakeRequestCall) DoAndReturn(f func(context.Context, ...grpc.CallOption) (grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], error)) *MockGitlabAccessClientMakeRequestCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccessClientMakeRequestCall) Return ¶
func (c *MockGitlabAccessClientMakeRequestCall) Return(arg0 grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], arg1 error) *MockGitlabAccessClientMakeRequestCall
Return rewrite *gomock.Call.Return
type MockGitlabAccessClientMockRecorder ¶
type MockGitlabAccessClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitlabAccessClientMockRecorder is the mock recorder for MockGitlabAccessClient.
func (*MockGitlabAccessClientMockRecorder) MakeRequest ¶
func (mr *MockGitlabAccessClientMockRecorder) MakeRequest(ctx any, opts ...any) *MockGitlabAccessClientMakeRequestCall
MakeRequest indicates an expected call of MakeRequest.
type MockGitlabAccessServer ¶ added in v17.3.0
type MockGitlabAccessServer struct {
// contains filtered or unexported fields
}
MockGitlabAccessServer is a mock of GitlabAccessServer interface.
func NewMockGitlabAccessServer ¶ added in v17.3.0
func NewMockGitlabAccessServer(ctrl *gomock.Controller) *MockGitlabAccessServer
NewMockGitlabAccessServer creates a new mock instance.
func (*MockGitlabAccessServer) EXPECT ¶ added in v17.3.0
func (m *MockGitlabAccessServer) EXPECT() *MockGitlabAccessServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitlabAccessServer) MakeRequest ¶ added in v17.3.0
func (m *MockGitlabAccessServer) MakeRequest(arg0 grpc.BidiStreamingServer[grpctool.HttpRequest, grpctool.HttpResponse]) error
MakeRequest mocks base method.
type MockGitlabAccessServerMakeRequestCall ¶ added in v17.3.0
MockGitlabAccessServerMakeRequestCall wrap *gomock.Call
func (*MockGitlabAccessServerMakeRequestCall) Do ¶ added in v17.3.0
func (c *MockGitlabAccessServerMakeRequestCall) Do(f func(grpc.BidiStreamingServer[grpctool.HttpRequest, grpctool.HttpResponse]) error) *MockGitlabAccessServerMakeRequestCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccessServerMakeRequestCall) DoAndReturn ¶ added in v17.3.0
func (c *MockGitlabAccessServerMakeRequestCall) DoAndReturn(f func(grpc.BidiStreamingServer[grpctool.HttpRequest, grpctool.HttpResponse]) error) *MockGitlabAccessServerMakeRequestCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccessServerMakeRequestCall) Return ¶ added in v17.3.0
func (c *MockGitlabAccessServerMakeRequestCall) Return(arg0 error) *MockGitlabAccessServerMakeRequestCall
Return rewrite *gomock.Call.Return
type MockGitlabAccessServerMockRecorder ¶ added in v17.3.0
type MockGitlabAccessServerMockRecorder struct {
// contains filtered or unexported fields
}
MockGitlabAccessServerMockRecorder is the mock recorder for MockGitlabAccessServer.
func (*MockGitlabAccessServerMockRecorder) MakeRequest ¶ added in v17.3.0
func (mr *MockGitlabAccessServerMockRecorder) MakeRequest(arg0 any) *MockGitlabAccessServerMakeRequestCall
MakeRequest indicates an expected call of MakeRequest.
type MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall ¶ added in v17.3.0
MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall wrap *gomock.Call
func (*MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Do ¶ added in v17.3.0
func (c *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Do(f func()) *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) DoAndReturn ¶ added in v17.3.0
func (c *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) DoAndReturn(f func()) *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Return ¶ added in v17.3.0
func (c *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Return() *MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestClient ¶
type MockGitlabAccess_MakeRequestClient struct {
// contains filtered or unexported fields
}
MockGitlabAccess_MakeRequestClient is a mock of GitlabAccess_MakeRequestClient interface.
func NewMockGitlabAccess_MakeRequestClient ¶
func NewMockGitlabAccess_MakeRequestClient(ctrl *gomock.Controller) *MockGitlabAccess_MakeRequestClient
NewMockGitlabAccess_MakeRequestClient creates a new mock instance.
func (*MockGitlabAccess_MakeRequestClient) CloseSend ¶
func (m *MockGitlabAccess_MakeRequestClient) CloseSend() error
CloseSend mocks base method.
func (*MockGitlabAccess_MakeRequestClient) Context ¶
func (m *MockGitlabAccess_MakeRequestClient) Context() context.Context
Context mocks base method.
func (*MockGitlabAccess_MakeRequestClient) EXPECT ¶
func (m *MockGitlabAccess_MakeRequestClient) EXPECT() *MockGitlabAccess_MakeRequestClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitlabAccess_MakeRequestClient) Header ¶
func (m *MockGitlabAccess_MakeRequestClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockGitlabAccess_MakeRequestClient) Recv ¶
func (m *MockGitlabAccess_MakeRequestClient) Recv() (*grpctool.HttpResponse, error)
Recv mocks base method.
func (*MockGitlabAccess_MakeRequestClient) RecvMsg ¶
func (m_2 *MockGitlabAccess_MakeRequestClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockGitlabAccess_MakeRequestClient) Send ¶
func (m *MockGitlabAccess_MakeRequestClient) Send(arg0 *grpctool.HttpRequest) error
Send mocks base method.
func (*MockGitlabAccess_MakeRequestClient) SendMsg ¶
func (m_2 *MockGitlabAccess_MakeRequestClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockGitlabAccess_MakeRequestClient) Trailer ¶
func (m *MockGitlabAccess_MakeRequestClient) Trailer() metadata.MD
Trailer mocks base method.
type MockGitlabAccess_MakeRequestClientCloseSendCall ¶
MockGitlabAccess_MakeRequestClientCloseSendCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestClientCloseSendCall) Do ¶
func (c *MockGitlabAccess_MakeRequestClientCloseSendCall) Do(f func() error) *MockGitlabAccess_MakeRequestClientCloseSendCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestClientCloseSendCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestClientCloseSendCall) DoAndReturn(f func() error) *MockGitlabAccess_MakeRequestClientCloseSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestClientCloseSendCall) Return ¶
func (c *MockGitlabAccess_MakeRequestClientCloseSendCall) Return(arg0 error) *MockGitlabAccess_MakeRequestClientCloseSendCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestClientContextCall ¶
MockGitlabAccess_MakeRequestClientContextCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestClientContextCall) Do ¶
func (c *MockGitlabAccess_MakeRequestClientContextCall) Do(f func() context.Context) *MockGitlabAccess_MakeRequestClientContextCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestClientContextCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestClientContextCall) DoAndReturn(f func() context.Context) *MockGitlabAccess_MakeRequestClientContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestClientContextCall) Return ¶
func (c *MockGitlabAccess_MakeRequestClientContextCall) Return(arg0 context.Context) *MockGitlabAccess_MakeRequestClientContextCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestClientHeaderCall ¶
MockGitlabAccess_MakeRequestClientHeaderCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestClientHeaderCall) Do ¶
func (c *MockGitlabAccess_MakeRequestClientHeaderCall) Do(f func() (metadata.MD, error)) *MockGitlabAccess_MakeRequestClientHeaderCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestClientHeaderCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockGitlabAccess_MakeRequestClientHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestClientHeaderCall) Return ¶
func (c *MockGitlabAccess_MakeRequestClientHeaderCall) Return(arg0 metadata.MD, arg1 error) *MockGitlabAccess_MakeRequestClientHeaderCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestClientMockRecorder ¶
type MockGitlabAccess_MakeRequestClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitlabAccess_MakeRequestClientMockRecorder is the mock recorder for MockGitlabAccess_MakeRequestClient.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) CloseSend ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) CloseSend() *MockGitlabAccess_MakeRequestClientCloseSendCall
CloseSend indicates an expected call of CloseSend.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) Context ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Context() *MockGitlabAccess_MakeRequestClientContextCall
Context indicates an expected call of Context.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) Header ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Header() *MockGitlabAccess_MakeRequestClientHeaderCall
Header indicates an expected call of Header.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) Recv ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Recv() *MockGitlabAccess_MakeRequestClientRecvCall
Recv indicates an expected call of Recv.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) RecvMsg ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) RecvMsg(m any) *MockGitlabAccess_MakeRequestClientRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) Send ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Send(arg0 any) *MockGitlabAccess_MakeRequestClientSendCall
Send indicates an expected call of Send.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) SendMsg ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) SendMsg(m any) *MockGitlabAccess_MakeRequestClientSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) Trailer ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Trailer() *MockGitlabAccess_MakeRequestClientTrailerCall
Trailer indicates an expected call of Trailer.
type MockGitlabAccess_MakeRequestClientRecvCall ¶
MockGitlabAccess_MakeRequestClientRecvCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestClientRecvCall) Do ¶
func (c *MockGitlabAccess_MakeRequestClientRecvCall) Do(f func() (*grpctool.HttpResponse, error)) *MockGitlabAccess_MakeRequestClientRecvCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestClientRecvCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestClientRecvCall) DoAndReturn(f func() (*grpctool.HttpResponse, error)) *MockGitlabAccess_MakeRequestClientRecvCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestClientRecvCall) Return ¶
func (c *MockGitlabAccess_MakeRequestClientRecvCall) Return(arg0 *grpctool.HttpResponse, arg1 error) *MockGitlabAccess_MakeRequestClientRecvCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestClientRecvMsgCall ¶
MockGitlabAccess_MakeRequestClientRecvMsgCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestClientRecvMsgCall) Do ¶
func (c *MockGitlabAccess_MakeRequestClientRecvMsgCall) Do(f func(any) error) *MockGitlabAccess_MakeRequestClientRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestClientRecvMsgCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestClientRecvMsgCall) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestClientRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestClientRecvMsgCall) Return ¶
func (c *MockGitlabAccess_MakeRequestClientRecvMsgCall) Return(arg0 error) *MockGitlabAccess_MakeRequestClientRecvMsgCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestClientSendCall ¶
MockGitlabAccess_MakeRequestClientSendCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestClientSendCall) Do ¶
func (c *MockGitlabAccess_MakeRequestClientSendCall) Do(f func(*grpctool.HttpRequest) error) *MockGitlabAccess_MakeRequestClientSendCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestClientSendCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestClientSendCall) DoAndReturn(f func(*grpctool.HttpRequest) error) *MockGitlabAccess_MakeRequestClientSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestClientSendCall) Return ¶
func (c *MockGitlabAccess_MakeRequestClientSendCall) Return(arg0 error) *MockGitlabAccess_MakeRequestClientSendCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestClientSendMsgCall ¶
MockGitlabAccess_MakeRequestClientSendMsgCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestClientSendMsgCall) Do ¶
func (c *MockGitlabAccess_MakeRequestClientSendMsgCall) Do(f func(any) error) *MockGitlabAccess_MakeRequestClientSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestClientSendMsgCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestClientSendMsgCall) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestClientSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestClientSendMsgCall) Return ¶
func (c *MockGitlabAccess_MakeRequestClientSendMsgCall) Return(arg0 error) *MockGitlabAccess_MakeRequestClientSendMsgCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestClientTrailerCall ¶
MockGitlabAccess_MakeRequestClientTrailerCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestClientTrailerCall) Do ¶
func (c *MockGitlabAccess_MakeRequestClientTrailerCall) Do(f func() metadata.MD) *MockGitlabAccess_MakeRequestClientTrailerCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestClientTrailerCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestClientTrailerCall) DoAndReturn(f func() metadata.MD) *MockGitlabAccess_MakeRequestClientTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestClientTrailerCall) Return ¶
func (c *MockGitlabAccess_MakeRequestClientTrailerCall) Return(arg0 metadata.MD) *MockGitlabAccess_MakeRequestClientTrailerCall
Return rewrite *gomock.Call.Return
type MockUnsafeGitlabAccessServer ¶ added in v17.3.0
type MockUnsafeGitlabAccessServer struct {
// contains filtered or unexported fields
}
MockUnsafeGitlabAccessServer is a mock of UnsafeGitlabAccessServer interface.
func NewMockUnsafeGitlabAccessServer ¶ added in v17.3.0
func NewMockUnsafeGitlabAccessServer(ctrl *gomock.Controller) *MockUnsafeGitlabAccessServer
NewMockUnsafeGitlabAccessServer creates a new mock instance.
func (*MockUnsafeGitlabAccessServer) EXPECT ¶ added in v17.3.0
func (m *MockUnsafeGitlabAccessServer) EXPECT() *MockUnsafeGitlabAccessServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeGitlabAccessServerMockRecorder ¶ added in v17.3.0
type MockUnsafeGitlabAccessServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeGitlabAccessServerMockRecorder is the mock recorder for MockUnsafeGitlabAccessServer.
type MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall ¶ added in v17.3.0
type MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall struct {
*gomock.Call
}
MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall wrap *gomock.Call
func (*MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Do ¶ added in v17.3.0
func (c *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Do(f func()) *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
Do rewrite *gomock.Call.Do
func (*MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) DoAndReturn ¶ added in v17.3.0
func (c *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) DoAndReturn(f func()) *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Return ¶ added in v17.3.0
func (c *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Return() *MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall
Return rewrite *gomock.Call.Return