(url string, auth transport.AuthMethod, insecure bool, clientCert, clientKey, caBundle []byte, proxyOpts transport.ProxyOptions)
| 542 | } |
| 543 | |
| 544 | func newSendPackSession(url string, auth transport.AuthMethod, insecure bool, clientCert, clientKey, caBundle []byte, proxyOpts transport.ProxyOptions) (transport.ReceivePackSession, error) { |
| 545 | c, ep, err := newClient(url, insecure, clientCert, clientKey, caBundle, proxyOpts) |
| 546 | if err != nil { |
| 547 | return nil, err |
| 548 | } |
| 549 | |
| 550 | return c.NewReceivePackSession(ep, auth) |
| 551 | } |
| 552 | |
| 553 | func newClient(url string, insecure bool, clientCert, clientKey, caBundle []byte, proxyOpts transport.ProxyOptions) (transport.Transport, *transport.Endpoint, error) { |
| 554 | ep, err := transport.NewEndpoint(url) |
no test coverage detected
searching dependent graphs…