ClientOptCredentialsFile returns a function that sets the credentialsFile setting on a client options set
(credentialsFile string)
| 197 | |
| 198 | // ClientOptCredentialsFile returns a function that sets the credentialsFile setting on a client options set |
| 199 | func 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. |
| 206 | func ClientOptHTTPClient(httpClient *http.Client) ClientOption { |
no outgoing calls
searching dependent graphs…