Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Issue ¶
type Issue struct {
TrackerType string
ID string
Subject string
Description string
Status string
Project string
}
Issue is the tracker-agnostic representation of a work item.
type Tracker ¶
type Tracker interface {
// ListIssues retrieves the issues from the tracker
ListIssues(ctx context.Context) ([]Issue, error)
// ListStatuses returns the available status names for the tracker.
ListStatuses(ctx context.Context) ([]string, error)
// UpdateIssueStatus updates the status from the given issueID
UpdateIssueStatus(ctx context.Context, issueID, statusName string) error
}
Tracker is the contract every adapter must satisfy.
Click to show internal directories.
Click to hide internal directories.