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

Unified Diff: ct/go/ctfe/task_types/task_types.go

Issue 1307333002: Add alerting for CTFE V2. (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Rebase. Created 5 years, 4 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 | « ct/go/ctfe/pending_tasks/pending_tasks.go ('k') | ct/sys/ctfe.service » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ct/go/ctfe/task_types/task_types.go
diff --git a/ct/go/ctfe/task_types/task_types.go b/ct/go/ctfe/task_types/task_types.go
new file mode 100644
index 0000000000000000000000000000000000000000..6d3465b8d5f9b816b7029496e9f4bac892859dff
--- /dev/null
+++ b/ct/go/ctfe/task_types/task_types.go
@@ -0,0 +1,26 @@
+/*
+ List of all task types.
+*/
+
+package task_types
+
+import (
+ "go.skia.org/infra/ct/go/ctfe/admin_tasks"
+ "go.skia.org/infra/ct/go/ctfe/capture_skps"
+ "go.skia.org/infra/ct/go/ctfe/chromium_builds"
+ "go.skia.org/infra/ct/go/ctfe/chromium_perf"
+ "go.skia.org/infra/ct/go/ctfe/lua_scripts"
+ "go.skia.org/infra/ct/go/ctfe/task_common"
+)
+
+// Slice of all tasks supported by CTFE.
+func Prototypes() []task_common.Task {
+ return []task_common.Task{
+ &chromium_perf.DBTask{},
+ &capture_skps.DBTask{},
+ &lua_scripts.DBTask{},
+ &chromium_builds.DBTask{},
+ &admin_tasks.RecreatePageSetsDBTask{},
+ &admin_tasks.RecreateWebpageArchivesDBTask{},
+ }
+}
« no previous file with comments | « ct/go/ctfe/pending_tasks/pending_tasks.go ('k') | ct/sys/ctfe.service » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698