Jimmy Zelinskie
5ff93f005b
registry: format accept headers ( #130 )
...
Multiple calls to request.Header.Add() will overwrite the last value.
This formats the value of the Accept headers correctly so that a
registry can perform content-type negotiation.
2018-09-05 12:03:18 -07:00
Jan-Otto Kröpke
74603b6d47
Add custom http header ( #104 )
2018-07-08 09:43:09 -04:00
Jess Frazelle
294bae7b50
fix token
...
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 15:47:08 -04:00
Jess Frazelle
6dbec6401b
clean up client opt
...
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 13:00:42 -04:00
Jess Frazelle
48a99e9644
Merge branch 'pr-56'
...
* pr-56:
Add option to skip ping on creating registry client
2018-06-06 12:49:29 -04:00
Paweł Prażak
f29941a2ba
add more debugging information ( #65 )
...
- makes debugging configuration issues easier by adding more context
instead of misleading "missing signature key" and similar
2018-02-18 11:17:29 -05:00
Simon Ferquel
1efaa929fc
Add option to skip ping on creating registry client
...
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2018-01-17 17:52:39 +01:00
Jess Frazelle
758d45bea2
update api
...
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-12-11 17:33:26 -05:00
Hynek Schlawack
11a291f744
Fix http basic auth if protocol is missing ( #22 )
...
Basic auth only worked if a full url was supplied. The reason is that
BasicTransport.RoundTrip checked if the resulting request URL has a the
transport's URL as a prefix.
This is fixed by setting the transport's URL to the canonical URL that is
computed a few lines earlier.
2017-04-18 13:32:28 -04:00
Chris Murphy
a02ddc8cd4
Allow for non-SSL access ( #15 )
...
* Allow for non-SSL access
* Reuqire --insecure option to use http protocol
* Fixed lint error
* Added --force-non-ssl option. Also moved check to allow handling of docker config
2017-04-04 10:12:36 -04:00
Jess Frazelle
46640512e7
update deps
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 22:10:04 -08:00
Jess Frazelle
cd61a71fad
fix v2 manifest fetch
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-01 15:39:18 -08:00
Jess Frazelle
c32b972ee4
fix insecure flag
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-13 11:42:33 -08:00
Stefan Majer
89031c4ab0
Make tls verification optional
2017-02-13 10:32:36 +01:00
Jess Frazelle
3075c58bc1
add vulns command
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-12 18:45:47 -08:00
Jess Frazelle
4a8d8107ef
domain fixes
2016-12-19 19:34:37 -08:00
Jess Frazelle
5bb5c33bdf
cleanup
...
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-20 18:16:34 -07:00
Jess Frazelle
1af74c42c2
fixes
...
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-05 19:44:19 -07:00
Jess Frazelle
b5406104f2
prepare reg for junk
...
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-08-12 22:23:13 -07:00