(ctx context.Context)
| 103 | } |
| 104 | |
| 105 | func (g *ociRemoteLoader) httpTransport(ctx context.Context) http.RoundTripper { |
| 106 | g.transportOnce.Do(func() { |
| 107 | g.transport = desktop.ProxyTransportFor(ctx, g.dockerCli.Client()) |
| 108 | }) |
| 109 | return g.transport |
| 110 | } |
| 111 | |
| 112 | func (g *ociRemoteLoader) Accept(path string) bool { |
| 113 | return strings.HasPrefix(path, OciPrefix) |
no test coverage detected