Documentation
¶
Index ¶
- type Client
- func (c *Client) AddCheck(pending bool, msg string) error
- func (c *Client) AddReasonRequiredComment() error
- func (c *Client) AddSkipCILabel() error
- func (c *Client) AddSkipLabelDeprecatedComment() error
- func (c *Client) AddSkippingComment(reason, user string) error
- func (c *Client) FindFiles(dir, name string) ([]string, error)
- func (c *Client) GetAllChecks() ([]*github.CheckRun, error)
- func (c *Client) GetChangedFiles() ([]string, error)
- func (c *Client) GetCheck(checkName string) (*github.CheckRun, error)
- func (c *Client) GetFile(filepath string) (string, bool, error)
- func (c *Client) GetLastCommitTimestamp() (*github.Timestamp, error)
- func (c *Client) GetPR() (*github.PullRequest, error)
- func (c *Client) GetPRComments() ([]*github.IssueComment, error)
- func (c *Client) RemoveSkipCILabel() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) AddReasonRequiredComment ¶
func (*Client) AddSkipCILabel ¶
func (*Client) AddSkipLabelDeprecatedComment ¶
func (*Client) AddSkippingComment ¶
func (*Client) FindFiles ¶
FindFiles returns the paths of all files named name that live at any depth below dir at the PR head commit, sorted. Returns no paths if dir holds no such file or doesn't exist.
func (*Client) GetChangedFiles ¶
func (*Client) GetLastCommitTimestamp ¶
func (*Client) GetPRComments ¶
func (c *Client) GetPRComments() ([]*github.IssueComment, error)
func (*Client) RemoveSkipCILabel ¶
Click to show internal directories.
Click to hide internal directories.