(hostOpts *dockerconfig.HostOptions)
| 155 | } |
| 156 | |
| 157 | func createHTTPClient(hostOpts *dockerconfig.HostOptions) *http.Client { |
| 158 | if hostOpts != nil && hostOpts.DefaultTLS != nil { |
| 159 | return &http.Client{ |
| 160 | Transport: &http.Transport{ |
| 161 | TLSClientConfig: hostOpts.DefaultTLS, |
| 162 | }, |
| 163 | } |
| 164 | } |
| 165 | return http.DefaultClient |
| 166 | } |
| 167 | |
| 168 | func validateFilterValue(key, value string) error { |
| 169 | switch key { |
no outgoing calls
no test coverage detected
searching dependent graphs…