Nassim 'Nass' Eddequiouaq
093af814ee
fix go vet complaining on composite literales
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2018-06-27 14:02:28 +02:00
Sebastiaan van Stijn
e1d4c012bc
Fix storing URLs without scheme ( #72 )
...
* Fix storing URLs without scheme
If secrets are stored without specifying a scheme
(https://), the keychain-helper would interpret the
hostname as _path_, causing lookup of secrets to fail.
This patch makes sure that a scheme is added (if missing).
If no scheme is specified, https:// is used as a default.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
* Have pre go1.8 compiler able to compile
Signed-off-by: Tibor Vass <teabee89@gmail.com >
* Fix URL parsing with port and no scheme
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
* Improve parseURL comment
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-06-15 10:58:17 +02:00
Simon Ferquel
51c78cdc14
[Windows] align get with list behavior
...
Avoiding to get unlabelled credentials
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com >
2017-03-16 18:16:37 +01:00
Nassim 'Nass' Eddequiouaq
1515d4547e
Fix syntax typos and tests implementation for windows
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-13 14:51:03 -07: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
23a1f310a5
Add a Docker Credentials label support for windows
...
Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com >
2017-03-10 15:11:57 +01:00
Daniel Joos
cfbce1c845
Removed unnecessary lines in wincred_windows.go
...
Those lines seem to be left from the last merge.
They cause build errors on Windows.
Signed-off-by: Daniel Joos <daniel@joosweb.de >
2016-09-07 09:59:03 +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
Avi Vaid
c2abee4c0c
go fmt in windows files
...
Signed-off-by: Avi Vaid <avaid1996@gmail.com >
2016-07-16 12:18:03 -07:00
avaid96
9e96a4905d
fixed issue with wincred
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-16 12:09:31 -07:00
avaid96
cf9b6df432
fixed issue with wincred
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-16 12:08:55 -07:00
avaid96
b0c64357eb
fixed issue with the windows test
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-16 12:07:50 -07:00
avaid96
5b764cc13a
changes to wincred, completes list functionality in windows
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-16 11:59:43 -07:00
avaid96
b3ebaa455d
trying to the OSX test to pass on Travis, it passes locally
...
Signed-off-by: avaid96 <avaid1996@gmail.com >
2016-07-15 17:32:47 -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
df8c7a02f1
Publish helper structs and methods.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
2016-03-24 15:08:17 -07: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
03b6cfc014
Add support for Windows credential manager.
...
Signed-off-by: David Calavera <david.calavera@gmail.com >
2016-02-22 14:53:50 -05:00