Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitlabGroup ¶
type GitlabGroup interface {
ListGroupProjects(gid interface{}, opt *gitlab.ListGroupProjectsOptions, options ...gitlab.OptionFunc) ([]*gitlab.Project, *gitlab.Response, error)
}
GitlabGroup is go-gitlab group service interface.
type GitlabMergeRequests ¶
type GitlabMergeRequests interface { ListMergeRequests(opt *gitlab.ListMergeRequestsOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error) ListProjectMergeRequests(pid interface{}, opt *gitlab.ListProjectMergeRequestsOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error) GetMergeRequest(pid interface{}, mergeRequest int, opt *gitlab.GetMergeRequestsOptions, options ...gitlab.OptionFunc) (*gitlab.MergeRequest, *gitlab.Response, error) }
GitlabMergeRequests is go-gitlab merge request service interface.
type GitlabProject ¶ added in v0.9.0
type GitlabProject interface {
GetProject(pid interface{}, opt *gitlab.GetProjectOptions, options ...gitlab.OptionFunc) (*gitlab.Project, *gitlab.Response, error)
}
GitlabProject is go-gitlab project service interface.
type GitlabRepoFile ¶
type GitlabRepoFile interface {
GetRawFile(pid interface{}, fileName string, opt *gitlab.GetRawFileOptions, options ...gitlab.OptionFunc) ([]byte, *gitlab.Response, error)
}
GitlabRepoFile is go-gitlab repository file service interface.
type GitlabSearch ¶
type GitlabSearch interface { MergeRequestsByProject(pid interface{}, query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error) MergeRequestsByGroup(gid interface{}, query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error) MergeRequests(query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error) Projects(query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.Project, *gitlab.Response, error) ProjectsByGroup(gid interface{}, query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.Project, *gitlab.Response, error) }
GitlabSearch is go-gitlab search service interface.
type GitlabValidate ¶
type GitlabValidate interface {
Lint(content string, options ...gitlab.OptionFunc) (*gitlab.LintResult, *gitlab.Response, error)
}
GitlabValidate is go-gitlab validate service interface.
Click to show internal directories.
Click to hide internal directories.