Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: go/src/infra/monitoring/messages/gatekeeper.go

Issue 1874053002: [alerts-dispatcher] update to build again :) also fixes a concurrent map access (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: typos Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « go/src/infra/monitoring/messages/alerts.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/monitoring/messages/gatekeeper.go
diff --git a/go/src/infra/monitoring/messages/gatekeeper.go b/go/src/infra/monitoring/messages/gatekeeper.go
index 8ba9eca0fdd1a6a9e66fc65b9c642ee6c848b383..e0d7a3e7addd3325e99066130c3b9d91d14e7726 100644
--- a/go/src/infra/monitoring/messages/gatekeeper.go
+++ b/go/src/infra/monitoring/messages/gatekeeper.go
@@ -28,6 +28,11 @@ type BuilderConfig struct {
ClosingOptional []string `json:"closing_optional"`
}
+type GatekeeperConfig struct {
+ Categories map[string]BuilderConfig `json:"categories"`
+ Masters map[string][]MasterConfig `json:"masters"`
+}
+
// TreeMasterConfig is a named group of masters. e.g. chromium, or blink.
type TreeMasterConfig struct {
BuildDB string `json:"build-db"`
« no previous file with comments | « go/src/infra/monitoring/messages/alerts.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698