| OLD | NEW |
| (Empty) |
| 1 // Code generated by "stringer -type=Status,ComponentType,Verbosity"; DO NOT EDI
T. | |
| 2 | |
| 3 package resp | |
| 4 | |
| 5 import "fmt" | |
| 6 | |
| 7 const _Status_name = "NotRunRunningSuccessFailureWarningInfraFailureExceptionExp
iredDependencyFailureWaitingDependency" | |
| 8 | |
| 9 var _Status_index = [...]uint8{0, 6, 13, 20, 27, 34, 46, 55, 62, 79, 96} | |
| 10 | |
| 11 func (i Status) String() string { | |
| 12 if i < 0 || i >= Status(len(_Status_index)-1) { | |
| 13 return fmt.Sprintf("Status(%d)", i) | |
| 14 } | |
| 15 return _Status_name[_Status_index[i]:_Status_index[i+1]] | |
| 16 } | |
| 17 | |
| 18 const _ComponentType_name = "RecipeStepSummary" | |
| 19 | |
| 20 var _ComponentType_index = [...]uint8{0, 6, 10, 17} | |
| 21 | |
| 22 func (i ComponentType) String() string { | |
| 23 if i < 0 || i >= ComponentType(len(_ComponentType_index)-1) { | |
| 24 return fmt.Sprintf("ComponentType(%d)", i) | |
| 25 } | |
| 26 return _ComponentType_name[_ComponentType_index[i]:_ComponentType_index[
i+1]] | |
| 27 } | |
| 28 | |
| 29 const _Verbosity_name = "NormalHiddenInteresting" | |
| 30 | |
| 31 var _Verbosity_index = [...]uint8{0, 6, 12, 23} | |
| 32 | |
| 33 func (i Verbosity) String() string { | |
| 34 if i < 0 || i >= Verbosity(len(_Verbosity_index)-1) { | |
| 35 return fmt.Sprintf("Verbosity(%d)", i) | |
| 36 } | |
| 37 return _Verbosity_name[_Verbosity_index[i]:_Verbosity_index[i+1]] | |
| 38 } | |
| OLD | NEW |