Documentation
¶
Index ¶
- func NewClient(serviceConfig *etc.ServiceConfig) (service.Client, error)
- type Client
- func (c *Client) CreatePullRequest(ctx context.Context, repo string, newPR *service.NewPullRequest) (service.PullRequest, error)
- func (c *Client) CreateRelease(ctx context.Context, owner, repo string, newRelease *service.NewRelease) (service.Release, error)
- func (c *Client) CreateRepository(ctx context.Context, repo string) (service.Repository, error)
- func (c *Client) CreateToken(ctx context.Context) (string, error)
- func (c *Client) GetCommitsURL(owner, repo string) (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) GetMilestoneURL(owner, repo string, id int) (string, error)
- func (c *Client) GetMilestonesURL(owner, repo string) (string, error)
- func (c *Client) GetProjectURL(owner, repo string, id int) (string, error)
- func (c *Client) GetProjectsURL(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)
- func (c *Client) GetWikisURL(owner, repo string) (string, error)
- type Issue
- type PullRequest
- type RawClient
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
RawClient rawClient
ListOptions *gitlab.ListOptions
// contains filtered or unexported fields
}
func (*Client) CreatePullRequest ¶ added in v0.0.2
func (c *Client) CreatePullRequest(ctx context.Context, repo string, newPR *service.NewPullRequest) (service.PullRequest, error)
func (*Client) CreateRelease ¶ added in v0.0.2
func (*Client) CreateRepository ¶ added in v0.0.2
func (*Client) GetCommitsURL ¶ added in v0.0.2
func (*Client) GetIssueURL ¶
func (*Client) GetMilestoneURL ¶ added in v0.0.2
func (*Client) GetMilestonesURL ¶ added in v0.0.2
func (*Client) GetProjectURL ¶ added in v0.0.2
func (*Client) GetProjectsURL ¶ added in v0.0.2
func (*Client) GetPullRequestURL ¶
func (*Client) GetPullRequests ¶
func (*Client) GetPullRequestsURL ¶
func (*Client) GetRepository ¶
func (*Client) GetRepositoryURL ¶
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 RawClient ¶ added in v0.0.2
func (*RawClient) GetMergeRequests ¶ added in v0.0.2
func (r *RawClient) GetMergeRequests() mergeRequestsService
func (*RawClient) GetProjects ¶ added in v0.0.2
func (r *RawClient) GetProjects() projectsService
type Repository ¶
func (*Repository) GetCloneURL ¶ added in v0.0.2
func (repo *Repository) GetCloneURL() string
func (*Repository) GetGitURL ¶ added in v0.0.2
func (repo *Repository) GetGitURL() string
func (*Repository) GetHTMLURL ¶
func (repo *Repository) GetHTMLURL() string
Click to show internal directories.
Click to hide internal directories.