Documentation ¶
Index ¶
- type Client
- func (c *Client) AddIssueToProject(ctx context.Context, projectURL, issueURL string) error
- func (c *Client) CloseIssue(ctx context.Context, repo string, issueNumber int) error
- func (c *Client) CreateIssue(ctx context.Context, owner, repo string, issue models.Issue) (int, error)
- func (c *Client) CreateMilestone(ctx context.Context, owner, repo string, milestone models.Milestone) (int, error)
- func (c *Client) CreateProject(ctx context.Context, title string) (string, error)
- func (c *Client) DeleteIssue(ctx context.Context, repo string, issueNumber int) error
- func (c *Client) DeleteProject(ctx context.Context, projectNumber string) error
- func (c *Client) Get(ctx context.Context, path string, response interface{}) error
- func (c *Client) GetIssueByTitle(ctx context.Context, owner, repo, title string) (*models.Issue, error)
- func (c *Client) GetIssueTitle(ctx context.Context, repo string, issueNumber int) (string, error)
- func (c *Client) GetMilestoneByTitle(ctx context.Context, owner, repo, title string) (*models.Milestone, error)
- func (c *Client) GetProjectOwner(ctx context.Context, projectNumber string) (string, error)
- func (c *Client) GetUsername() (string, error)
- func (c *Client) LinkProjectToRepo(ctx context.Context, projectNumber, repoFullName string) error
- func (c *Client) ListProjectIssues(ctx context.Context, projectNumber string) ([]models.IssueItem, error)
- func (c *Client) ListUserProjects(ctx context.Context) ([]models.Project, error)
- func (c *Client) Patch(ctx context.Context, path string, body io.Reader, response interface{}) error
- func (c *Client) Post(ctx context.Context, path string, body io.Reader, response interface{}) error
- func (c *Client) UpdateIssueMilestone(ctx context.Context, owner, repo string, issueNumber, milestoneNumber int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddIssueToProject ¶
func (*Client) CloseIssue ¶
func (*Client) CreateIssue ¶
func (*Client) CreateMilestone ¶
func (*Client) CreateProject ¶
func (*Client) DeleteIssue ¶
func (*Client) DeleteProject ¶
func (*Client) GetIssueByTitle ¶
func (*Client) GetIssueTitle ¶
func (*Client) GetMilestoneByTitle ¶
func (*Client) GetProjectOwner ¶
func (*Client) GetUsername ¶
func (*Client) LinkProjectToRepo ¶
func (*Client) ListProjectIssues ¶
func (*Client) ListUserProjects ¶
Click to show internal directories.
Click to hide internal directories.