(url string, auth transport.AuthMethod, insecure bool, cabundle []byte, proxyOpts transport.ProxyOptions)
| 530 | } |
| 531 | |
| 532 | func newSendPackSession(url string, auth transport.AuthMethod, insecure bool, cabundle []byte, proxyOpts transport.ProxyOptions) (transport.ReceivePackSession, error) { |
| 533 | c, ep, err := newClient(url, insecure, cabundle, proxyOpts) |
| 534 | if err != nil { |
| 535 | return nil, err |
| 536 | } |
| 537 | |
| 538 | return c.NewReceivePackSession(ep, auth) |
| 539 | } |
| 540 | |
| 541 | func newClient(url string, insecure bool, cabundle []byte, proxyOpts transport.ProxyOptions) (transport.Transport, *transport.Endpoint, error) { |
| 542 | ep, err := transport.NewEndpoint(url) |
no test coverage detected