WithPlatformMatcher specifies the matcher to use for determining which platforms to pull content for. This value supersedes anything set with `WithPlatform`.
(m platforms.MatchComparer)
| 152 | // determining which platforms to pull content for. |
| 153 | // This value supersedes anything set with `WithPlatform`. |
| 154 | func WithPlatformMatcher(m platforms.MatchComparer) RemoteOpt { |
| 155 | return func(_ *Client, c *RemoteContext) error { |
| 156 | c.PlatformMatcher = m |
| 157 | return nil |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | // WithPullUnpack is used to unpack an image after pull. This |
| 162 | // uses the snapshotter, content store, and diff service |
no outgoing calls
searching dependent graphs…