Commit graph

26 commits

Author SHA1 Message Date
Tomoya Amachi e29a4fdc2e Fix GCR errors (#182)
* change accepts header

* change accepts header

* skip gcr ping check

* update go.sum

* fix lint errors

* fix lint errors

* update go.mod
2019-06-11 00:57:48 +08:00
Jess Frazelle 067711f90e
fix getting official registry manifest
closes #164

Signed-off-by: Jess Frazelle <acidburn@github.com>
2019-01-02 11:19:56 -05:00
Jessica Tracy 32589e90be Passing context (#163)
* passing context in layer calls

* more contexting

* clair folder and context in handlers

* fixed token transport to reuse request context

* tests

* taking out context pass in server handlers
2018-12-29 12:09:10 -05:00
Jess Frazelle 4a4d0e5d10
fix api;
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-11-14 10:18:18 -05:00
alexander zillion db513b737e add --auth-url parameter (#90) (#105)
Signed-off-by: Alex Zillion <alex@alexzillion.com>
2018-11-14 10:06:30 -05:00
Julien 383e4f7d48 Add force-non-ssl to registry operations (#102) 2018-11-14 10:02:41 -05:00
Darrian 67d1af130d instead of using a bool to check for v2, just test the type of the response interface. fixes #132 (#156) 2018-10-29 08:32:59 -07:00
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