issuetracking

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2018 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIssueKeyFromBranchName

func GetIssueKeyFromBranchName(branchName string) string

Types

type GitHub

type GitHub struct{}

func (GitHub) AddIssueLabel

func (gh GitHub) AddIssueLabel(issue common.Issue, labelName string) error

func (GitHub) AssignIssue

func (gh GitHub) AssignIssue(issue common.Issue, login string)

func (GitHub) GetCurrentUser

func (gh GitHub) GetCurrentUser() string

func (GitHub) GetUserRealName

func (gh GitHub) GetUserRealName(username string) string

func (GitHub) Issue

func (gh GitHub) Issue(issueKey string) common.Issue

func (GitHub) Issues

func (gh GitHub) Issues() []common.Issue

func (GitHub) RemoveIssueLabel

func (gh GitHub) RemoveIssueLabel(issue common.Issue, labelName string)

type IssueTrackingClient

type IssueTrackingClient interface {
	GetCurrentUser() string
	GetUserRealName(string) string
	Issues() []common.Issue
	Issue(string) common.Issue
	AssignIssue(common.Issue, string)
	AddIssueLabel(common.Issue, string) error
	RemoveIssueLabel(common.Issue, string)
}

func GetClient

func GetClient() IssueTrackingClient

type Jira

type Jira struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL