SetTasks updates the tasks list with new data.
(tasks []*api.ClusterTask)
| 103 | |
| 104 | // SetTasks updates the tasks list with new data. |
| 105 | func (tl *TasksList) SetTasks(tasks []*api.ClusterTask) { |
| 106 | tl.tasks = tasks |
| 107 | tl.updateHistoryTable() |
| 108 | // Also refresh active tasks since we are updating |
| 109 | tl.Refresh() |
| 110 | } |
| 111 | |
| 112 | // SetFilteredTasks updates the tasks list with filtered data. |
| 113 | func (tl *TasksList) SetFilteredTasks(tasks []*api.ClusterTask) { |
nothing calls this directly
no test coverage detected