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 ¶
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.
Click to show internal directories.
Click to hide internal directories.