Commit graph

17 commits

Author SHA1 Message Date
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
Darrian 478c4dadc6 confirm the requested schema version matches the returned (#148) 2018-11-14 09:51:57 -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
Jess Frazelle 73fdd32040
remove manifest list from Manifest function
fixes #132

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-10 11:19:51 -04: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
Jess Frazelle f3a9b00ec8
refactor how the domain for the images is used
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-17 15:50:30 -04:00
Jess Frazelle 246604b921
make naming consistent
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-17 13:36:52 -04:00
Jess Frazelle 285085cc56
fix gofmt
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-17 13:34:19 -04:00
Vadim Bauer 720e7deac5 put manifest
Signed-off-by: Vadim Bauer <bauer.vadim@gmail.com>
2018-06-14 13:47:05 +02: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
Jess Frazelle 758d45bea2
update api
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-12-11 17:33:26 -05:00
Jess Frazelle 7c408e403d
travis
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-01 15:44:49 -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 3075c58bc1
add vulns command
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-12 18:45:47 -08:00
Jess Frazelle e33d3e5526
cleanup
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-12-19 21:13:34 -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