Jean-Laurent de Morlhon
4d60b372aa
Add a version command
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net >
2017-05-30 18:26:18 +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
Nassim 'Nass' Eddequiouaq
7133af577e
Creds label can be configured from helpers
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-11 12:34:22 +01:00
Nassim 'Nass' Eddequiouaq
2a8670e0da
Cleanup original modifications to the exposed APIs
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:14:04 +01:00
Nassim 'Nass' Eddequiouaq
cfe7556d6d
[SYNTAX] Run gofmt on changed files
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:12:12 +01:00
Nassim 'Nass' Eddequiouaq
595b7f2531
Add a Docker Credentials label to store and list creds
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:10:54 +01: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
avaid96
205e3b3056
cleaned up some of the osx code, added a better test for list
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-11 23:34:20 -07:00
avaid96
5a8fb214ed
Full implementation for OSX ready
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-11 10:50:44 -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
David Calavera
039c315f22
Export credentials functions to be able to use them as a library.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
2016-03-24 14:52:17 -04:00
David Calavera
2275377a31
Move away from password as a name. We store secrets.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
2016-03-09 16:16:01 -05:00
David Calavera
a701e3c310
Remove extra package.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
2016-02-09 13:03:40 -08:00