Documentation
¶
Index ¶
- func ExtractDependencyName(title string) string
- func MakeHyperlink(text, url string) string
- func ParseRepoFromURL(url string) (owner, repo string, err error)
- func PrintTableHeader(w *os.File)
- func UpdateTable(w *os.File, entries []StatusEntry)
- type PRGroup
- type PRInfo
- type PRStatus
- type StatusEntry
- type StatusState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractDependencyName ¶
func MakeHyperlink ¶
func ParseRepoFromURL ¶
func PrintTableHeader ¶
func UpdateTable ¶
func UpdateTable(w *os.File, entries []StatusEntry)
Types ¶
type PRStatus ¶
type PRStatus struct {
// contains filtered or unexported fields
}
func NewPRStatus ¶
func NewPRStatus() *PRStatus
func (*PRStatus) FormatSummary ¶
func (*PRStatus) Snapshot ¶
func (s *PRStatus) Snapshot() []StatusEntry
type StatusEntry ¶
type StatusEntry struct {
PR PRInfo
State StatusState
Detail string
}
type StatusState ¶
type StatusState int
const ( StatusPending StatusState = iota StatusChecking StatusApproving StatusMerging StatusMerged StatusAlreadyMerged StatusAutoMerge StatusFailed StatusSkipped StatusConflict )
func (StatusState) String ¶
func (s StatusState) String() string
Click to show internal directories.
Click to hide internal directories.