mirror of https://github.com/docker/cli.git
555aba27af
Refactor the DetectDefaultStore to allow testing it cross-platform, and without the actual helpers installed. This also makes a small change in the logic for detecting the preferred helper. Previously, it only detected the "helper" binary ("pass"), but would fall back to using plain-text if the pass credentials-helper was not installed. With this patch, it falls back to the platform default (secretservice), before falling back to using no credentials helper (and storing unencrypted). Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
credentials.go | ||
default_store.go | ||
default_store_darwin.go | ||
default_store_linux.go | ||
default_store_test.go | ||
default_store_unsupported.go | ||
default_store_windows.go | ||
file_store.go | ||
file_store_test.go | ||
native_store.go | ||
native_store_test.go |