GetImage returns an existing image
(ctx context.Context, ref string)
| 572 | |
| 573 | // GetImage returns an existing image |
| 574 | func (c *Client) GetImage(ctx context.Context, ref string) (Image, error) { |
| 575 | i, err := c.ImageService().Get(ctx, ref) |
| 576 | if err != nil { |
| 577 | return nil, err |
| 578 | } |
| 579 | return NewImage(c, i), nil |
| 580 | } |
| 581 | |
| 582 | // ListImages returns all existing images |
| 583 | func (c *Client) ListImages(ctx context.Context, filters ...string) ([]Image, error) { |
nothing calls this directly
no test coverage detected