Searched refs:dashapi (Results 1 – 19 of 19) sorted by relevance
22 crash1 := &dashapi.Crash{43 want := &dashapi.BugReport{90 reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{92 Status: dashapi.BugStatusOpen,93 ReproLevel: dashapi.ReproLevelSyz,101 c.client.updateBug(rep.ID, dashapi.BugStatusUpstream, "")104 reply, _ = c.client.ReportingUpdate(&dashapi.BugUpdate{ID: rep.ID, Status: dashapi.BugStatusOpen})125 reply, _ = c.client.ReportingUpdate(&dashapi.BugUpdate{127 Status: dashapi.BugStatusUpstream,145 reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{[all …]
48 bug.ReproLevel != dashapi.ReproLevelNone {181 func testBuild(id int) *dashapi.Build {182 return &dashapi.Build{198 func testCrash(build *dashapi.Build, id int) *dashapi.Crash {199 return &dashapi.Crash{207 func testCrashWithRepro(build *dashapi.Build, id int) *dashapi.Crash {215 func testCrashID(crash *dashapi.Crash) *dashapi.CrashID {216 return &dashapi.CrashID{260 cid := &dashapi.CrashID{268 c.client.ReportingUpdate(&dashapi.BugUpdate{[all …]
36 reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{38 Status: dashapi.BugStatusOpen,53 c.client.updateBug(rep.ID, dashapi.BugStatusOpen, "")58 reply, _ = c.client.ReportingUpdate(&dashapi.BugUpdate{60 Status: dashapi.BugStatusUpstream,84 c.client.updateBug(rep2.ID, dashapi.BugStatusUpstream, "")104 reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{106 Status: dashapi.BugStatusOpen,165 reply, _ := c.client.ReportingUpdate(&dashapi.BugUpdate{167 Status: dashapi.BugStatusOpen,[all …]
29 req := new(dashapi.PollBugsRequest)34 resp := &dashapi.PollBugsResponse{41 req := new(dashapi.PollClosedRequest)50 resp := &dashapi.PollClosedResponse{57 req := new(dashapi.BugUpdate)62 return &dashapi.BugUpdateReply{
19 func testNeedRepro1(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {37 crash2 := new(dashapi.Crash)62 func testNeedRepro2(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {83 func testNeedRepro3(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {122 func testNeedRepro4(t *testing.T, crashCtor func(c *Ctx) *dashapi.Crash) {157 func normalCrash(c *Ctx) *dashapi.Crash {163 func dupCrash(c *Ctx) *dashapi.Crash {170 c.client.updateBug(reports[1].ID, dashapi.BugStatusDup, reports[0].ID)174 func closedCrash(c *Ctx) *dashapi.Crash {178 func closedWithReproCrash(c *Ctx) *dashapi.Crash {[all …]
195 client.updateBug(repInvalid.ID, dashapi.BugStatusUpstream, "")198 client.updateBug(repInvalid.ID, dashapi.BugStatusInvalid, "")205 client.updateBug(repFixed.ID, dashapi.BugStatusUpstream, "")208 reply, _ := client.ReportingUpdate(&dashapi.BugUpdate{210 Status: dashapi.BugStatusOpen,234 client.updateBug(repOpen.ID, dashapi.BugStatusUpstream, "")243 client.updateBug(repPatched.ID, dashapi.BugStatusUpstream, "")246 reply, _ = client.ReportingUpdate(&dashapi.BugUpdate{248 Status: dashapi.BugStatusOpen,261 client.updateBug(repDup.ID, dashapi.BugStatusUpstream, "")[all …]
37 func reportingPollBugs(c context.Context, typ string) []*dashapi.BugReport {53 var reports []*dashapi.BugReport71 func handleReportBug(c context.Context, typ string, state *ReportingState, bug *Bug) (*dashapi.BugR…182 func reproStr(level dashapi.ReproLevel) string {194 bugReporting *BugReporting, config interface{}) (*dashapi.BugReport, error) {239 rep := &dashapi.BugReport{332 func incomingCommand(c context.Context, cmd *dashapi.BugUpdate) (bool, string, error) {343 func incomingCommandImpl(c context.Context, cmd *dashapi.BugUpdate) (bool, string, error) {359 if cmd.Status == dashapi.BugStatusDup {426 func incomingCommandTx(c context.Context, now time.Time, cmd *dashapi.BugUpdate,[all …]
236 *dashapi.Dashboard266 Dashboard: dashapi.NewCustom(client, "", key, c.inst.NewRequest, doer, logger, errorHandler),270 func (client *apiClient) pollBugs(expect int) []*dashapi.BugReport {276 reproLevel := dashapi.ReproLevelNone278 reproLevel = dashapi.ReproLevelC280 reproLevel = dashapi.ReproLevelSyz282 reply, _ := client.ReportingUpdate(&dashapi.BugUpdate{284 Status: dashapi.BugStatusOpen,294 func (client *apiClient) pollBug() *dashapi.BugReport {298 func (client *apiClient) updateBug(extID string, status dashapi.BugStatus, dup string) {[all …]
119 cmd := &dashapi.BugUpdate{121 Status: dashapi.BugStatusOpen,122 ReproLevel: dashapi.ReproLevelNone,126 cmd.ReproLevel = dashapi.ReproLevelC128 cmd.ReproLevel = dashapi.ReproLevelSyz156 func emailReport(c context.Context, rep *dashapi.BugReport, templ string) error {287 cmd := &dashapi.BugUpdate{295 cmd.Status = dashapi.BugStatusUpdate297 cmd.Status = dashapi.BugStatusUpstream299 cmd.Status = dashapi.BugStatusInvalid[all …]
162 req := new(dashapi.LogEntry)171 req := new(dashapi.BuilderPollReq)211 resp := &dashapi.BuilderPollResp{219 req := new(dashapi.JobPollReq)230 req := new(dashapi.JobDoneReq)239 req := new(dashapi.Build)264 func uploadBuild(c context.Context, now time.Time, ns string, req *dashapi.Build, typ BuildType) (b…328 titles []string, fixCommits []dashapi.FixCommit) error {482 req := new(dashapi.BuildErrorReq)506 req := new(dashapi.Crash)[all …]
75 ReproLevel dashapi.ReproLevel95 ReproLevel dashapi.ReproLevel195 ReproLevelNone = dashapi.ReproLevelNone196 ReproLevelSyz = dashapi.ReproLevelSyz197 ReproLevelC = dashapi.ReproLevelC
251 resp := &dashapi.JobPollResp{267 func doneJob(c context.Context, req *dashapi.JobDoneReq) error {308 func pollCompletedJobs(c context.Context, typ string) ([]*dashapi.BugReport, error) {317 var reports []*dashapi.BugReport334 *dashapi.BugReport, error) {377 rep := &dashapi.BugReport{
118 jobDoneReq := &dashapi.JobDoneReq{167 jobDoneReq = &dashapi.JobDoneReq{207 jobDoneReq = &dashapi.JobDoneReq{252 jobDoneReq = &dashapi.JobDoneReq{319 jobDoneReq := &dashapi.JobDoneReq{
135 func formatReproLevel(l dashapi.ReproLevel) string {
111 ReproLevel dashapi.ReproLevel
25 dash *dashapi.Dashboard38 jp.dash = dashapi.New(cfg.DashboardClient, cfg.DashboardAddr, cfg.DashboardKey)100 req *dashapi.JobPollResp101 resp *dashapi.JobDoneReq105 func (jp *JobProcessor) process(job *Job) *dashapi.JobDoneReq {107 build := dashapi.Build{119 job.resp = &dashapi.JobDoneReq{
65 dash *dashapi.Dashboard78 var dash *dashapi.Dashboard80 dash = dashapi.New(mgrcfg.DashboardClient, cfg.DashboardAddr, mgrcfg.DashboardKey)409 req := &dashapi.BuildErrorReq{411 Crash: dashapi.Crash{498 func (mgr *Manager) createDashboardBuild(info *BuildInfo, imageDir, typ string) (*dashapi.Build, er…512 build := &dashapi.Build{533 func (mgr *Manager) pollCommits(buildCommit string) ([]string, []dashapi.FixCommit, error) {554 var fixCommits []dashapi.FixCommit564 fixCommits = append(fixCommits, dashapi.FixCommit{
65 dash *dashapi.Dashboard208 mgr.dash = dashapi.New(cfg.DashboardClient, cfg.DashboardAddr, cfg.DashboardKey)620 dc := &dashapi.Crash{701 cid := &dashapi.CrashID{715 cid := &dashapi.CrashID{773 dc := &dashapi.Crash{1125 req := &dashapi.ManagerStatsReq{
6 package dashapi package