Documentation
¶
Index ¶
- Variables
- func IsNotFound(err error) bool
- func ParseBody(raw string) (string, model.Type, model.Stage, string, error)
- func ProjectLabelColor(project string) string
- func SerializeBody(item model.Item) string
- func UserMessage(err error) string
- type Client
- func (c *Client) DeleteIssue(repo string, issueNumber int) error
- func (c *Client) ForceUpsertItem(repo string, item model.Item) (model.Item, string, error)
- func (c *Client) SetProjectLabelSync(mode string)
- func (c *Client) SyncRepo(repo string) ([]model.Item, error)
- func (c *Client) UpsertItem(repo string, item model.Item) (model.Item, string, error)
- type ConflictError
- type DraftMetadata
- type Error
- type ErrorKind
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnmanagedIssue = errors.New("issue is not managed by triage")
Functions ¶
func IsNotFound ¶ added in v0.1.1
func ProjectLabelColor ¶ added in v0.1.1
func SerializeBody ¶
func UserMessage ¶ added in v0.1.1
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ForceUpsertItem ¶
func (*Client) SetProjectLabelSync ¶ added in v0.1.1
type ConflictError ¶
func (*ConflictError) Error ¶
func (e *ConflictError) Error() string
type DraftMetadata ¶ added in v0.1.1
type DraftMetadata struct {
Title string
Project string
Repo string
Type model.Type
Stage model.Stage
}
func ParseDraft ¶ added in v0.1.1
func ParseDraft(raw string) (DraftMetadata, string, error)
Click to show internal directories.
Click to hide internal directories.