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
f1498a0524
go fmt is all osx files and general files
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-16 12:19:47 -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