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

Unified Diff: milo/api/resp/status_string.go

Issue 2944633003: [milo] Add BuildSummary and common models. (Closed)
Patch Set: add comments Created 3 years, 6 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 | « milo/api/resp/console.go ('k') | milo/api/resp/verbosity_string.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/api/resp/status_string.go
diff --git a/milo/api/resp/status_string.go b/milo/api/resp/status_string.go
deleted file mode 100644
index 65164d23c716e7f8ee91750b4213975d761d4215..0000000000000000000000000000000000000000
--- a/milo/api/resp/status_string.go
+++ /dev/null
@@ -1,38 +0,0 @@
-// Code generated by "stringer -type=Status,ComponentType,Verbosity"; DO NOT EDIT.
-
-package resp
-
-import "fmt"
-
-const _Status_name = "NotRunRunningSuccessFailureWarningInfraFailureExceptionExpiredDependencyFailureWaitingDependency"
-
-var _Status_index = [...]uint8{0, 6, 13, 20, 27, 34, 46, 55, 62, 79, 96}
-
-func (i Status) String() string {
- if i < 0 || i >= Status(len(_Status_index)-1) {
- return fmt.Sprintf("Status(%d)", i)
- }
- return _Status_name[_Status_index[i]:_Status_index[i+1]]
-}
-
-const _ComponentType_name = "RecipeStepSummary"
-
-var _ComponentType_index = [...]uint8{0, 6, 10, 17}
-
-func (i ComponentType) String() string {
- if i < 0 || i >= ComponentType(len(_ComponentType_index)-1) {
- return fmt.Sprintf("ComponentType(%d)", i)
- }
- return _ComponentType_name[_ComponentType_index[i]:_ComponentType_index[i+1]]
-}
-
-const _Verbosity_name = "NormalHiddenInteresting"
-
-var _Verbosity_index = [...]uint8{0, 6, 12, 23}
-
-func (i Verbosity) String() string {
- if i < 0 || i >= Verbosity(len(_Verbosity_index)-1) {
- return fmt.Sprintf("Verbosity(%d)", i)
- }
- return _Verbosity_name[_Verbosity_index[i]:_Verbosity_index[i+1]]
-}
« no previous file with comments | « milo/api/resp/console.go ('k') | milo/api/resp/verbosity_string.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698