pivotaltracker

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2016 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPointMeLabel     = "point me"
	DefaultReviewedLabel    = "reviewed"
	DefaultSkipReviewLabel  = "no review"
	DefaultTestedLabel      = "qa+"
	DefaultSkipTestingLabel = "no qa"
)
View Source
const (
	ModuleId   = "salsaflow.modules.issuetracking.pivotaltracker"
	ModuleKind = loader.ModuleKindIssueTracking
)
View Source
const ServiceName = "Pivotal Tracker"

Variables

View Source
var (
	ErrReleaseNotDeliverable = errors.New("Pivotal Tracker: the release is not deliverable")
	ErrApiCall               = errors.New("Pivotal Tracker: API call failed")
)
View Source
var DefaultSkipCheckLabels = []string{"dupe", "wontfix"}

Functions

func NewModule

func NewModule() loader.Module

Types

type GlobalConfig

type GlobalConfig struct {
	UserToken string `prompt:"personal Pivotal Tracker token" secret:"true" json:"token"`
}

GlobalConfig implements loader.ConfigContainer

func (*GlobalConfig) PromptUserForConfig

func (global *GlobalConfig) PromptUserForConfig() error

PromptUserForConfig is a part of loader.ConfigContainer

type LocalConfig

type LocalConfig struct {
	ProjectId      int     `json:"project_id"`
	ComponentLabel *string `json:"component_label"`
	Labels         struct {
		PointMeLabel     string   `json:"point_me"`
		ReviewedLabel    string   `json:"reviewed"`
		SkipReviewLabel  string   `json:"skip_review"`
		TestedLabel      string   `json:"tested"`
		SkipTestingLabel string   `json:"skip_testing"`
		SkipCheckLabels  []string `json:"skip_release_check_labels"`
	} `json:"workflow_labels"`
	// contains filtered or unexported fields
}

LocalConfig implements loader.ConfigContainer interface.

func (*LocalConfig) PromptUserForConfig

func (local *LocalConfig) PromptUserForConfig() error

PromptUserForConfig is a part of loader.ConfigContainer interface.

Jump to

Keyboard shortcuts

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