Documentation
¶
Index ¶
- func NewClient(host *etc.ServiceConfig) (service.Client, error)
- type Client
- func (c *Client) CreateToken(ctx context.Context) (string, error)
- func (c *Client) GetIssueURL(owner, repo string, id int) (string, error)
- func (c *Client) GetIssues(ctx context.Context, owner, repo string) (serviceIssues []service.Issue, err error)
- func (c *Client) GetIssuesURL(owner, repo string) (string, error)
- func (c *Client) GetPullRequestURL(owner, repo string, id int) (string, error)
- func (c *Client) GetPullRequests(ctx context.Context, owner, repo string) (servicePullRequests []service.PullRequest, err error)
- func (c *Client) GetPullRequestsURL(owner, repo string) (string, error)
- func (c *Client) GetRepository(ctx context.Context, owner, repo string) (service.Repository, error)
- func (c *Client) GetRepositoryURL(owner, repo string) (string, error)
- type Issue
- type PullRequest
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
RawClient *gitlab.Client
ListOptions *gitlab.ListOptions
// contains filtered or unexported fields
}
func (*Client) GetIssueURL ¶
func (*Client) GetPullRequestURL ¶
func (*Client) GetPullRequests ¶
func (*Client) GetPullRequestsURL ¶
func (*Client) GetRepository ¶
type Issue ¶
func (*Issue) GetHTMLURL ¶
type PullRequest ¶
type PullRequest struct {
*gitlab.MergeRequest
}
func (*PullRequest) GetHTMLURL ¶
func (pullRequest *PullRequest) GetHTMLURL() string
func (*PullRequest) GetNumber ¶
func (pullRequest *PullRequest) GetNumber() int
func (*PullRequest) GetTitle ¶
func (pullRequest *PullRequest) GetTitle() string
type Repository ¶
func (*Repository) GetHTMLURL ¶
func (repo *Repository) GetHTMLURL() string
Click to show internal directories.
Click to hide internal directories.