DockerCLI/cli/config/credentials
Euan Kemp 056015c3d8 config/credentials: don't run 'pass' to detect it
'CheckInitialized' in the credential-helper library actually invokes
`pass`, which isn't desirable (see #699).

This moves the check to be simpler, and then pass will only be invoked
when it's needed (such as for `docker login` or when pulling from a
private registry).

This logic could also reasonably live in the credential-helper library,
but it's simple enough it seems fine in either location.

Signed-off-by: Euan Kemp <euank@euank.com>
2018-06-29 11:38:39 -07:00
..
credentials.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
default_store.go defaultCredentialStore: make this a function 2017-09-20 11:14:27 -06:00
default_store_darwin.go defaultCredentialStore: make this a function 2017-09-20 11:14:27 -06:00
default_store_linux.go config/credentials: don't run 'pass' to detect it 2018-06-29 11:38:39 -07:00
default_store_unsupported.go Fix compilation of defaultCredentialStore() on unsupported platforms 2018-02-10 15:30:32 +00:00
default_store_windows.go defaultCredentialStore: make this a function 2017-09-20 11:14:27 -06:00
file_store.go print a big warning about cleartext passwords 2018-03-26 16:18:32 +02:00
file_store_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
native_store.go Cleanup config/credentials, remove dependency on config file. 2017-06-27 13:45:50 +02:00
native_store_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00