(ctx context.Context, filters ...string)
| 68 | } |
| 69 | |
| 70 | func (r *remoteContainers) list(ctx context.Context, filters ...string) ([]containers.Container, error) { |
| 71 | resp, err := r.client.List(ctx, &containersapi.ListContainersRequest{ |
| 72 | Filters: filters, |
| 73 | }) |
| 74 | if err != nil { |
| 75 | return nil, errgrpc.ToNative(err) |
| 76 | } |
| 77 | return containersFromProto(resp.Containers), nil |
| 78 | } |
| 79 | |
| 80 | var errStreamNotAvailable = errors.New("streaming api not available") |
| 81 |
no test coverage detected