OLD | NEW |
1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package buildbot | 5 package buildbot |
6 | 6 |
7 import ( | 7 import ( |
8 "bytes" | 8 "bytes" |
9 "compress/gzip" | 9 "compress/gzip" |
10 "encoding/json" | 10 "encoding/json" |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 PendingBuilds int `json:"pending_builds"` | 430 PendingBuilds int `json:"pending_builds"` |
431 State string `json:"state"` | 431 State string `json:"state"` |
432 TotalSlaves int `json:"total_slaves"` | 432 TotalSlaves int `json:"total_slaves"` |
433 } `json:"builders"` | 433 } `json:"builders"` |
434 ServerUptime float64 `json:"server_uptime"` | 434 ServerUptime float64 `json:"server_uptime"` |
435 } `json:"varz"` | 435 } `json:"varz"` |
436 | 436 |
437 // This is injected by the pubsub publisher on the buildbot side. | 437 // This is injected by the pubsub publisher on the buildbot side. |
438 Name string `json:"name"` | 438 Name string `json:"name"` |
439 } | 439 } |
OLD | NEW |