Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateIssue(ctx context.Context, issue *models.GitHubIssue) (*models.GitHubIssue, error)
- func (c *Client) CreateIssueComment(ctx context.Context, issueNumber int, comment *models.GitHubComment) error
- func (c *Client) CreateLabel(ctx context.Context, name, color, description string) error
- func (c *Client) SearchIssues(ctx context.Context, workItemID int) ([]*github.Issue, error)
- func (c *Client) TestConnection(ctx context.Context) error
- func (c *Client) UpdateIssueState(ctx context.Context, issueNumber int, state string) error
- func (c *Client) ValidateLabels(ctx context.Context, labels []string) 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) CreateIssue ¶
func (c *Client) CreateIssue(ctx context.Context, issue *models.GitHubIssue) (*models.GitHubIssue, error)
func (*Client) CreateIssueComment ¶
func (*Client) CreateLabel ¶
func (*Client) SearchIssues ¶
func (*Client) UpdateIssueState ¶
Click to show internal directories.
Click to hide internal directories.