Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PageTokenRegex = regexp.MustCompile(`^id>\d+$`)
)
Functions ¶
func IndexedTags ¶
IndexedTags returns the indexed tags.
Types ¶
type Query ¶
type Query struct { Builder *pb.BuilderID Tags strpair.Map Status pb.Status CreatedBy identity.Identity StartTime time.Time EndTime time.Time IncludeExperimental bool BuildIdHigh int64 BuildIdLow int64 Canary *bool PageSize int32 StartCursor 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 pb.SearchBuildsRequest. It assumes CreateTime in req is either unset or valid and will panic on any failures.
Click to show internal directories.
Click to hide internal directories.