Documentation
¶
Overview ¶
Package defaults provides embedded default configuration for gh-pmu.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Defaults ¶
Defaults holds the parsed default configuration.
func MustLoad ¶
func MustLoad() *Defaults
MustLoad parses and returns the embedded defaults, panicking on error.
func (*Defaults) GetLabel ¶ added in v0.13.1
GetLabel returns the label definition for a given name, or nil if not found.
func (*Defaults) GetLabelNames ¶ added in v0.13.5
GetLabelNames returns a slice of all standard label names.
func (*Defaults) IsStandardLabel ¶ added in v0.13.5
IsStandardLabel returns true if the given label name is a standard label.
type FieldDef ¶
type FieldDef struct {
Name string `yaml:"name"`
Type string `yaml:"type"`
Options []string `yaml:"options,omitempty"`
}
FieldDef represents a project field definition.
Click to show internal directories.
Click to hide internal directories.