Documentation ¶
Overview ¶
Package compiledcfg contains compiled versions of the LUCI Analysis config. (E.g. Regular expressions are compiled for efficiency.)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectConfig ¶
type ProjectConfig struct { // Config is the raw, uncompiled, configuration. Config *configpb.ProjectConfig // TestNameRules are the set of rules to use to cluster test results // by test name. TestNameRules []rules.Evaluator // ReasonMaskPatterns is the set of patterns to use to mask out parts // of the failure reason before clustering. ReasonMaskPatterns []*regexp.Regexp // LastUpdated is the time the configuration was last updated. LastUpdated time.Time }
ProjectConfig is a compiled version of LUCI Analysis project configuration.
func NewConfig ¶
func NewConfig(config *configpb.ProjectConfig) (*ProjectConfig, error)
NewConfig compiles the given clustering configuration into a Config object.
Click to show internal directories.
Click to hide internal directories.