Documentation ¶
Overview ¶
Mocks for GitLab access RPC.
Package mock_gitlab_access is a generated GoMock package.
Index ¶
- type MockGitlabAccessClient
- type MockGitlabAccessClientMockRecorder
- 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 *MockGitlabAccess_MakeRequestClient) RecvMsg(arg0 interface{}) error
- func (m *MockGitlabAccess_MakeRequestClient) Send(arg0 *grpctool.HttpRequest) error
- func (m *MockGitlabAccess_MakeRequestClient) SendMsg(arg0 interface{}) error
- func (m *MockGitlabAccess_MakeRequestClient) Trailer() metadata.MD
- type MockGitlabAccess_MakeRequestClientMockRecorder
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Context() *gomock.Call
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Header() *gomock.Call
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Recv() *gomock.Call
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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(arg0 context.Context, arg1 ...grpc.CallOption) (rpc.GitlabAccess_MakeRequestClient, error)
MakeRequest mocks base method.
type MockGitlabAccessClientMockRecorder ¶
type MockGitlabAccessClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitlabAccessClientMockRecorder is the mock recorder for MockGitlabAccessClient.
func (*MockGitlabAccessClientMockRecorder) MakeRequest ¶
func (mr *MockGitlabAccessClientMockRecorder) MakeRequest(arg0 interface{}, arg1 ...interface{}) *gomock.Call
MakeRequest indicates an expected call of MakeRequest.
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 *MockGitlabAccess_MakeRequestClient) RecvMsg(arg0 interface{}) 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 *MockGitlabAccess_MakeRequestClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockGitlabAccess_MakeRequestClient) Trailer ¶
func (m *MockGitlabAccess_MakeRequestClient) Trailer() metadata.MD
Trailer mocks base method.
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() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) Context ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) Header ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) Recv ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) RecvMsg ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) Send ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) SendMsg ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockGitlabAccess_MakeRequestClientMockRecorder) Trailer ¶
func (mr *MockGitlabAccess_MakeRequestClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.