Sebastiaan van Stijn
c20f883316
client: don't use un-keyed literals in tests, and don't fail early
...
- don't fail tests early if there's more we can test
- don't user un-keyed literals in tests
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-27 17:14:13 +02:00
CrazyMax
9582eb6661
lint gha job
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-21 15:33:56 +02:00
Nassim Eddequiouaq
ed11c58ebf
Prevent invalid credentials: no missing server URL or username ( #62 )
...
* Prevent invalid credentials: no missing server URL or username
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
* Add missing username/serverURL error checks in credstore client
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
* Clean up doc on invalid creds errors and client's error checks
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
* Add tests for missing ServerURL/Username
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
* Clean isValidCredsMessage prototype
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
* Add test for missing server URL and more detailed error msg
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-05-29 10:21:50 +02:00
Jake Sanders
c45d9e9e28
Implement client.List, change list API
...
[]string, []string -> map[string]string because the other APIs assume a
1:1 correspondence
Signed-off-by: Jake Sanders <jsand@google.com >
2016-09-02 15:15:12 -07:00
avaid96
8fa18eb16c
implementation on client side as well, complete with tests
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-13 10:20:51 -07:00
David Calavera
c4fc9c07dd
Add client functions to allow integrations within other CLIs.
...
This is a simplification of how the docker engine implements
this feature, but it will be ported there once this is merged.
Signed-off-by: David Calavera <david.calavera@gmail.com >
2016-05-30 12:32:26 -07:00