Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PageTokenRegex = regexp.MustCompile(`^id>\d+$`)
)
Functions ¶
func IndexedTags ¶
IndexedTags returns the indexed tags.
func UpdateTagIndex ¶
UpdateTagIndex updates the tag index for the given builds. Panics if any build.Proto.Builder is unspecified.
Types ¶
type Query ¶
type Query struct { Builder *pb.BuilderID Tags strpair.Map Status pb.Status CreatedBy identity.Identity StartTime time.Time EndTime time.Time ExperimentFilters stringset.Set BuildIDHigh int64 BuildIDLow int64 DescendantOf int64 ChildOf int64 PageSize int32 PageToken string }
Query is the intermediate to store the arguments for ds search query.
func NewQuery ¶
func NewQuery(req *pb.SearchBuildsRequest) *Query
NewQuery builds a Query from a pb.SearchBuildsRequest. It assumes req is valid, otherwise may panic.
Click to show internal directories.
Click to hide internal directories.