OptionNoExternalConfig returns a Client constructor option that prevents any on-disk config files or environment variables from influencing the client. It may still use the disk for caches.
()
| 405 | // prevents any on-disk config files or environment variables from |
| 406 | // influencing the client. It may still use the disk for caches. |
| 407 | func OptionNoExternalConfig() ClientOption { |
| 408 | return optionNoExtConfig(true) |
| 409 | } |
| 410 | |
| 411 | type optionAuthMode struct { |
| 412 | m auth.AuthMode |