Documentation
¶
Index ¶
- func AllowedReasons() []string
- func CommentFields() []string
- func CurrentPullRequestNumber(repoFlag string) (int, error)
- func ExportComments(comments []Comment, fields []string) ([]map[string]interface{}, error)
- func IsAllowedReason(value string) bool
- func ParseCommentFields(value string) ([]string, error)
- func ParseReason(value string) (string, error)
- func ValidateCommentFields(fields []string) error
- type Client
- type Comment
- type GraphQLClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedReasons ¶
func AllowedReasons() []string
func CommentFields ¶ added in v0.2.0
func CommentFields() []string
func CurrentPullRequestNumber ¶ added in v0.3.1
func ExportComments ¶ added in v0.2.0
func IsAllowedReason ¶
func ParseCommentFields ¶ added in v0.2.0
func ParseReason ¶
func ValidateCommentFields ¶ added in v0.2.0
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewWithClient ¶
func NewWithClient(gql GraphQLClient) *Client
func (*Client) FindIssueOrPullRequestComments ¶
func (*Client) MinimizeComment ¶
func (*Client) PullRequestNumberForBranch ¶ added in v0.3.1
func (*Client) UnminimizeComment ¶
type Comment ¶
type GraphQLClient ¶
Click to show internal directories.
Click to hide internal directories.