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