Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockGitlabClient
- func (m *MockGitlabClient) CreateProject(opt *gitlab.CreateProjectOptions, options ...gitlab.RequestOptionFunc) (*gitlab.Project, *gitlab.Response, error)
- func (m *MockGitlabClient) CurrentUser(options ...gitlab.RequestOptionFunc) (*gitlab.User, *gitlab.Response, error)
- func (m *MockGitlabClient) EXPECT() *MockGitlabClientMockRecorder
- func (m *MockGitlabClient) GetGroup(gid interface{}, opt *gitlab.GetGroupOptions, ...) (*gitlab.Group, *gitlab.Response, error)
- func (m *MockGitlabClient) GetProject(pid interface{}, opt *gitlab.GetProjectOptions, ...) (*gitlab.Project, *gitlab.Response, error)
- type MockGitlabClientMockRecorder
- func (mr *MockGitlabClientMockRecorder) CreateProject(opt interface{}, options ...interface{}) *gomock.Call
- func (mr *MockGitlabClientMockRecorder) CurrentUser(options ...interface{}) *gomock.Call
- func (mr *MockGitlabClientMockRecorder) GetGroup(gid, opt interface{}, options ...interface{}) *gomock.Call
- func (mr *MockGitlabClientMockRecorder) GetProject(pid, opt interface{}, options ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGitlabClient ¶ added in v0.3.1
type MockGitlabClient struct {
// contains filtered or unexported fields
}
MockGitlabClient is a mock of GitlabClient interface.
func NewMockGitlabClient ¶ added in v0.3.1
func NewMockGitlabClient(ctrl *gomock.Controller) *MockGitlabClient
NewMockGitlabClient creates a new mock instance.
func (*MockGitlabClient) CreateProject ¶ added in v0.3.1
func (m *MockGitlabClient) CreateProject(opt *gitlab.CreateProjectOptions, options ...gitlab.RequestOptionFunc) (*gitlab.Project, *gitlab.Response, error)
CreateProject mocks base method.
func (*MockGitlabClient) CurrentUser ¶ added in v0.3.1
func (m *MockGitlabClient) CurrentUser(options ...gitlab.RequestOptionFunc) (*gitlab.User, *gitlab.Response, error)
CurrentUser mocks base method.
func (*MockGitlabClient) EXPECT ¶ added in v0.3.1
func (m *MockGitlabClient) EXPECT() *MockGitlabClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitlabClient) GetGroup ¶ added in v0.4.4
func (m *MockGitlabClient) GetGroup(gid interface{}, opt *gitlab.GetGroupOptions, options ...gitlab.RequestOptionFunc) (*gitlab.Group, *gitlab.Response, error)
GetGroup mocks base method.
func (*MockGitlabClient) GetProject ¶ added in v0.4.0
func (m *MockGitlabClient) GetProject(pid interface{}, opt *gitlab.GetProjectOptions, options ...gitlab.RequestOptionFunc) (*gitlab.Project, *gitlab.Response, error)
GetProject mocks base method.
type MockGitlabClientMockRecorder ¶ added in v0.3.1
type MockGitlabClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitlabClientMockRecorder is the mock recorder for MockGitlabClient.
func (*MockGitlabClientMockRecorder) CreateProject ¶ added in v0.3.1
func (mr *MockGitlabClientMockRecorder) CreateProject(opt interface{}, options ...interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject.
func (*MockGitlabClientMockRecorder) CurrentUser ¶ added in v0.3.1
func (mr *MockGitlabClientMockRecorder) CurrentUser(options ...interface{}) *gomock.Call
CurrentUser indicates an expected call of CurrentUser.
func (*MockGitlabClientMockRecorder) GetGroup ¶ added in v0.4.4
func (mr *MockGitlabClientMockRecorder) GetGroup(gid, opt interface{}, options ...interface{}) *gomock.Call
GetGroup indicates an expected call of GetGroup.
func (*MockGitlabClientMockRecorder) GetProject ¶ added in v0.4.0
func (mr *MockGitlabClientMockRecorder) GetProject(pid, opt interface{}, options ...interface{}) *gomock.Call
GetProject indicates an expected call of GetProject.