NewImage returns a client image object from the metadata image
(client *Client, i images.Image)
| 116 | |
| 117 | // NewImage returns a client image object from the metadata image |
| 118 | func NewImage(client *Client, i images.Image) Image { |
| 119 | return &image{ |
| 120 | client: client, |
| 121 | i: i, |
| 122 | platform: client.platform, |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | // NewImageWithPlatform returns a client image object from the metadata image |
| 127 | func NewImageWithPlatform(client *Client, i images.Image, platform platforms.MatchComparer) Image { |
no outgoing calls
searching dependent graphs…