Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Projects ProjectsService Tags TagsService MergeRequests MergeRequestsService Commits CommitsService Issues IssuesService }
Client wraps the gitlab.Client with interfaces we are using
type CommitsService ¶
type CommitsService interface { GetCommit( pid interface{}, sha string, options ...gitlab.OptionFunc, ) (*gitlab.Commit, *gitlab.Response, error) }
CommitsService describes the methods we use from gitlab.CommitsService
type IssuesService ¶
type IssuesService interface { ListProjectIssues( pid interface{}, opt *gitlab.ListProjectIssuesOptions, options ...gitlab.OptionFunc, ) ([]*gitlab.Issue, *gitlab.Response, error) }
IssuesService describes the methods we use from gitlab.IssuesService
type MergeRequestsService ¶
type MergeRequestsService interface { ListProjectMergeRequests( pid interface{}, opt *gitlab.ListProjectMergeRequestsOptions, options ...gitlab.OptionFunc, ) ([]*gitlab.MergeRequest, *gitlab.Response, error) }
MergeRequestsService describes the methods we use from gitlab.MergeRequestsService
type ProjectsService ¶
type ProjectsService interface { GetProject( pid interface{}, options ...gitlab.OptionFunc, ) (*gitlab.Project, *gitlab.Response, error) }
ProjectsService describes the methods we use from gitlab.ProjectsService
type TagsService ¶
type TagsService interface { ListTags( pid interface{}, opt *gitlab.ListTagsOptions, options ...gitlab.OptionFunc, ) ([]*gitlab.Tag, *gitlab.Response, error) }
TagsService describes the methods we use from gitlab.TagsService
Click to show internal directories.
Click to hide internal directories.