(ctx context.Context, filters ...string)
| 53 | } |
| 54 | |
| 55 | func (s *remoteImages) List(ctx context.Context, filters ...string) ([]images.Image, error) { |
| 56 | resp, err := s.client.List(ctx, &imagesapi.ListImagesRequest{ |
| 57 | Filters: filters, |
| 58 | }) |
| 59 | if err != nil { |
| 60 | return nil, errgrpc.ToNative(err) |
| 61 | } |
| 62 | |
| 63 | return imagesFromProto(resp.Images), nil |
| 64 | } |
| 65 | |
| 66 | func (s *remoteImages) Create(ctx context.Context, image images.Image) (images.Image, error) { |
| 67 | req := &imagesapi.CreateImageRequest{ |
nothing calls this directly
no test coverage detected