# Functions
ClearRulesUsers clears the columns CreationUser and LastAuditableUpdateUser in table FailureAssociationRule.
Create creates a mutation to insert a new failure association rule.
ExportRulesCron is the entry-point to the export failure association rules.
GenerateID returns a random 128-bit rule ID, encoded as 32 lowercase hexadecimal characters.
NewRule starts building a new Rule.
Read reads the failure association rule with the given rule ID.
ReadActive reads all active LUCI Analysis failure association rules in the given LUCI project.
ReadAllForTesting reads all LUCI Analysis failure association rules.
ReadByBug reads the failure association rules associated with the given bug.
ReadDelta reads the changed failure association rules since the given timestamp, in the given LUCI project.
ReadDeltaAllProjects reads the changed failure association rules since the given timestamp for all LUCI projects.
ReadMany reads the failure association rules with the given rule IDs.
ReadTotalActiveRules reads the number active rules, for each LUCI Project.
ReadVersion reads information about when rules in the given project were last updated.
ReadWithMonorailForProject reads all LUCI Analysis failure association rules using monorail in the given LUCI Project.
SetForTesting replaces the set of stored rules to match the given set.
ToExternalBugManagementStatePB converts the internal *bugspb.BugManagementState to its external (filtered) representation.
Update creates a mutation to update an existing failure association rule.
No description provided by the author
# Constants
LUCIAnalysisSystem is the special user that identifies changes made by the LUCI Analysis system itself in audit fields.
MaxRuleDefinitionLength is the maximum length of a rule definition.
PolicyIDRePattern is the regular expression pattern that matches validly formed bug management policy IDs.
RuleIDRe is the regular expression pattern that matches validly formed rule IDs.
# Variables
NotExistsErr is returned by Read methods for a single failure association rule, if no matching rule exists.
PolicyIDRe matches validly formed bug management policy IDs.
RuleIDRe matches validly formed rule IDs.
StartingEpoch is the rule last updated time used for projects that have no rules (active or otherwise).
StartingEpoch is the rule version used for projects that have no rules (active or otherwise).
UserRe matches valid users.
# Structs
Entry represents a failure association rule (a rule which associates failures with a bug).
RuleBuilder provides methods to build a failure asociation rule for testing.
UpdateOptions are the options that are using during the update of a rule.
Version captures version information about a project's rules.