# Functions
BucketResourceID returns a string identifying the bucket resource.
Duration returns duration between start and the earliest of ends.
GetJSONData fetches data from the given URL, parses the response body to `out`.
HumanDuration translates d into a human readable string of x units y units, where x and y could be in days, hours, minutes, or seconds, whichever is the largest.
LegacyBuilderIDString returns a legacy string identifying the builder.
MergeStrings merges multiple string slices together into a single slice, removing duplicates.
ObfuscateEmail converts a string containing email address [email protected] into email<junk>@address.com.
ParseBuildbucketBuildID parses the legacy build ID in the format of `buildbucket/<build_id>`.
ParseBuilderID parses the canonical builder ID (e.g.
ParseIntFromForm parses an integer from a form.
ParseLegacyBuildbucketBuildID parses the legacy build ID in the format of `buildbucket/luci.<project>.<bucket>/<builder>/<number>`.
ParseLegacyBuilderID parses the legacy builder ID (e.g.
ReadExactOneFromForm read a string from a form.
ReplaceNSEWith takes an errors.MultiError returned by a datastore.Get() on a slice (which is always a MultiError), filters out all datastore.ErrNoSuchEntity or replaces it with replacement instances, and returns an error generated by errors.LazyMultiError.
ShortenEmail shortens Google emails.
TagGRPC annotates some gRPC with Milo specific semantics, specifically: * Marks the error as Unauthorized if the user is not logged in, and the underlying error was a 403 or 404.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author