Documentation ¶
Index ¶
- Variables
- func ReadPayload(secret []byte, r *http.Request, v interface{}) ([]byte, error)
- type Client
- func (c *Client) AddAssignees(issue int, assignees ...string) []string
- func (c *Client) AddComment(issue int, comment string) types.Comment
- func (c *Client) AddLabel(issue int, label string) []string
- func (c *Client) GetAssignees(issue int) []string
- func (c *Client) GetAvailableLabels() []string
- func (c *Client) GetCollaborators() []string
- func (c *Client) GetComments(issue int) []types.Comment
- func (c *Client) GetFileContent(path string) string
- func (c *Client) GetFileContentFromRef(path, owner, repo, ref string) string
- func (c *Client) GetFileNames(issue int) []string
- func (c *Client) GetLabels(issue int) []string
- func (c *Client) GetPatch(issue int) map[string]*string
- func (c *Client) GetReviewers(issue int) map[string]string
- func (c *Client) GetState(issue int) string
- func (c *Client) Lock(issue int)
- func (c *Client) Locked(issue int) bool
- func (c *Client) Merge(issue int, mergeMethod string)
- func (c *Client) RemoveAssignees(issue int, assignees ...string) []string
- func (c *Client) RemoveLabel(issue int, label string) []string
- func (c *Client) SetStatus(sha string, description string, state string)
- func (c *Client) Unlock(issue int)
- type EventHandler
- type PullRequestPayload
Constants ¶
This section is empty.
Variables ¶
View Source
var DataBuilder dataBuilder
View Source
var DefaultEventHandler = &defaultEventHandler{log.Get("GitHub.DataBuilder.DefaultHandler")}
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewAppClient ¶
func NewAppClient(config client.ClientConfig, owner, repo string, installation int) *Client
func (*Client) AddAssignees ¶
func (*Client) GetAssignees ¶
func (*Client) GetAvailableLabels ¶
func (*Client) GetCollaborators ¶
func (*Client) GetFileContent ¶
func (*Client) GetFileContentFromRef ¶
func (*Client) GetFileNames ¶
func (*Client) RemoveAssignees ¶
type EventHandler ¶
type PullRequestPayload ¶
Click to show internal directories.
Click to hide internal directories.