Documentation ¶
Index ¶
- type GitlabGroup
- type GitlabMergeRequests
- func (_m *GitlabMergeRequests) GetMergeRequest(pid interface{}, mergeRequest int, opt *gitlab.GetMergeRequestsOptions, ...) (*gitlab.MergeRequest, *gitlab.Response, error)
- func (_m *GitlabMergeRequests) ListMergeRequests(opt *gitlab.ListMergeRequestsOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)
- func (_m *GitlabMergeRequests) ListProjectMergeRequests(pid interface{}, opt *gitlab.ListProjectMergeRequestsOptions, ...) ([]*gitlab.MergeRequest, *gitlab.Response, error)
- type GitlabRepoFile
- type GitlabSearch
- func (_m *GitlabSearch) MergeRequests(query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)
- func (_m *GitlabSearch) MergeRequestsByGroup(gid interface{}, query string, opt *gitlab.SearchOptions, ...) ([]*gitlab.MergeRequest, *gitlab.Response, error)
- func (_m *GitlabSearch) MergeRequestsByProject(pid interface{}, query string, opt *gitlab.SearchOptions, ...) ([]*gitlab.MergeRequest, *gitlab.Response, error)
- func (_m *GitlabSearch) Projects(query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.Project, *gitlab.Response, error)
- func (_m *GitlabSearch) ProjectsByGroup(gid interface{}, query string, opt *gitlab.SearchOptions, ...) ([]*gitlab.Project, *gitlab.Response, error)
- type GitlabValidate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitlabGroup ¶
GitlabGroup is an autogenerated mock type for the GitlabGroup type
func (*GitlabGroup) ListGroupProjects ¶
func (_m *GitlabGroup) ListGroupProjects(gid interface{}, opt *gitlab.ListGroupProjectsOptions, options ...gitlab.OptionFunc) ([]*gitlab.Project, *gitlab.Response, error)
ListGroupProjects provides a mock function with given fields: gid, opt, options
type GitlabMergeRequests ¶
GitlabMergeRequests is an autogenerated mock type for the GitlabMergeRequests type
func (*GitlabMergeRequests) GetMergeRequest ¶
func (_m *GitlabMergeRequests) GetMergeRequest(pid interface{}, mergeRequest int, opt *gitlab.GetMergeRequestsOptions, options ...gitlab.OptionFunc) (*gitlab.MergeRequest, *gitlab.Response, error)
GetMergeRequest provides a mock function with given fields: pid, mergeRequest, opt, options
func (*GitlabMergeRequests) ListMergeRequests ¶
func (_m *GitlabMergeRequests) ListMergeRequests(opt *gitlab.ListMergeRequestsOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)
ListMergeRequests provides a mock function with given fields: opt, options
func (*GitlabMergeRequests) ListProjectMergeRequests ¶
func (_m *GitlabMergeRequests) ListProjectMergeRequests(pid interface{}, opt *gitlab.ListProjectMergeRequestsOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)
ListProjectMergeRequests provides a mock function with given fields: pid, opt, options
type GitlabRepoFile ¶
GitlabRepoFile is an autogenerated mock type for the GitlabRepoFile type
func (*GitlabRepoFile) GetRawFile ¶
func (_m *GitlabRepoFile) GetRawFile(pid interface{}, fileName string, opt *gitlab.GetRawFileOptions, options ...gitlab.OptionFunc) ([]byte, *gitlab.Response, error)
GetRawFile provides a mock function with given fields: pid, fileName, opt, options
type GitlabSearch ¶
GitlabSearch is an autogenerated mock type for the GitlabSearch type
func (*GitlabSearch) MergeRequests ¶
func (_m *GitlabSearch) MergeRequests(query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)
MergeRequests provides a mock function with given fields: query, opt, options
func (*GitlabSearch) MergeRequestsByGroup ¶
func (_m *GitlabSearch) MergeRequestsByGroup(gid interface{}, query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)
MergeRequestsByGroup provides a mock function with given fields: gid, query, opt, options
func (*GitlabSearch) MergeRequestsByProject ¶
func (_m *GitlabSearch) MergeRequestsByProject(pid interface{}, query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)
MergeRequestsByProject provides a mock function with given fields: pid, query, opt, options
func (*GitlabSearch) Projects ¶
func (_m *GitlabSearch) Projects(query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.Project, *gitlab.Response, error)
Projects provides a mock function with given fields: query, opt, options
func (*GitlabSearch) ProjectsByGroup ¶
func (_m *GitlabSearch) ProjectsByGroup(gid interface{}, query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.Project, *gitlab.Response, error)
ProjectsByGroup provides a mock function with given fields: gid, query, opt, options
type GitlabValidate ¶
GitlabValidate is an autogenerated mock type for the GitlabValidate type
func (*GitlabValidate) Lint ¶
func (_m *GitlabValidate) Lint(content string, options ...gitlab.OptionFunc) (*gitlab.LintResult, *gitlab.Response, error)
Lint provides a mock function with given fields: content, options