Get a specific task
(ctx context.Context, id string)
| 276 | |
| 277 | // Get a specific task |
| 278 | func (m *TaskManager) Get(ctx context.Context, id string) (runtime.Task, error) { |
| 279 | shim, err := m.manager.shims.Get(ctx, id) |
| 280 | if err != nil { |
| 281 | return nil, err |
| 282 | } |
| 283 | return newShimTask(shim) |
| 284 | } |
| 285 | |
| 286 | // Tasks lists all tasks |
| 287 | func (m *TaskManager) Tasks(ctx context.Context, all bool) ([]runtime.Task, error) { |
nothing calls this directly
no test coverage detected