github

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Id = "GitHub Issues"

Variables

This section is empty.

Functions

func Factory

func Factory() (common.IssueTracker, error)

Types

type Config

type Config struct {
	// Story label.
	StoryLabel string `envconfig:"GH_STORY_LABEL" default:"story"`

	// State labels.
	ApprovedLabel         string `envconfig:"GH_APPROVED_LABEL"          default:"approved"`
	BeingImplementedLabel string `envconfig:"GH_BEING_IMPLEMENTED_LABEL" default:"being implemented"`
	ImplementedLabel      string `envconfig:"GH_IMPLEMENTED_LABEL"       default:"implemented"`
	ReviewedLabel         string `envconfig:"GH_REVIEWED_LABEL"          default:"reviewed"`
	SkipReviewLabel       string `envconfig:"GH_SKIP_REVIEW_LABEL"       default:"no review"`
	PassedTestingLabel    string `envconfig:"GH_PASSED_TESTING_LABEL"    default:"qa+"`
	FailedTestingLabel    string `envconfig:"GH_FAILED_TESTING_LABEL"    default:"qa-"`
	SkipTestingLabel      string `envconfig:"GH_SKIP_TESTING_LABEL"      default:"no qa"`
	StagedLabel           string `envconfig:"GH_STAGED_LABEL"            default:"staged"`
	RejectedLabel         string `envconfig:"GH_REJECTED_LABEL"          default:"rejected"`
}

func GetConfig

func GetConfig() Config

Jump to

Keyboard shortcuts

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