MCPcopy
hub / github.com/helm/helm / ClientOptCredentialsFile

Function ClientOptCredentialsFile

pkg/registry/client.go:199–203  ·  view source on GitHub ↗

ClientOptCredentialsFile returns a function that sets the credentialsFile setting on a client options set

(credentialsFile string)

Source from the content-addressed store, hash-verified

197
198// ClientOptCredentialsFile returns a function that sets the credentialsFile setting on a client options set
199func ClientOptCredentialsFile(credentialsFile string) ClientOption {
200 return func(client *Client) {
201 client.credentialsFile = credentialsFile
202 }
203}
204
205// ClientOptHTTPClient returns a function that sets the HTTP client for the registry client.
206func ClientOptHTTPClient(httpClient *http.Client) ClientOption {

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…