(items []TaskDependencyRecord)
| 4509 | } |
| 4510 | |
| 4511 | func taskDependencyToonRows(items []TaskDependencyRecord) [][]string { |
| 4512 | rows := make([][]string, 0, len(items)) |
| 4513 | for _, item := range items { |
| 4514 | rows = append(rows, []string{ |
| 4515 | item.TaskID, |
| 4516 | item.DependsOnTaskID, |
| 4517 | string(item.Kind), |
| 4518 | formatTime(item.CreatedAt), |
| 4519 | }) |
| 4520 | } |
| 4521 | return rows |
| 4522 | } |
| 4523 | |
| 4524 | func taskRunRows(items []TaskRunRecord) [][]string { |
| 4525 | rows := make([][]string, 0, len(items)) |
no test coverage detected