MCPcopy
hub / github.com/helm/helm / ClientOptHTTPClient

Function ClientOptHTTPClient

pkg/registry/client.go:206–210  ·  view source on GitHub ↗

ClientOptHTTPClient returns a function that sets the HTTP client for the registry client.

(httpClient *http.Client)

Source from the content-addressed store, hash-verified

204
205// ClientOptHTTPClient returns a function that sets the HTTP client for the registry client.
206func ClientOptHTTPClient(httpClient *http.Client) ClientOption {
207 return func(client *Client) {
208 client.httpClient = httpClient
209 }
210}
211
212// ClientOptPlainHTTP returns a function that enables plain HTTP (non-TLS)
213// communication for the registry client.

Callers 4

newRegistryClientWithTLSFunction · 0.92
newRegistryClientMethod · 0.92
newRegistryClientMethod · 0.92
setupFunction · 0.85

Calls

no outgoing calls

Tested by 1

setupFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…