Sebastiaan van Stijn
|
ff5f70e55f
api/server/httputils: move WriteJSON() together with ReadJSON()
|
3 years ago |
Sebastiaan van Stijn
|
0c9ff0b45a
api/server/httputils: add ReadJSON() utility
|
3 years ago |
Sebastiaan van Stijn
|
ef490cae45
api/server/httputils: matchesContentType(): return error instead of logging
|
3 years ago |
Sebastiaan van Stijn
|
e82b7b2fa0
errdefs: move GetHTTPErrorStatusCode to api/server/httpstatus
|
3 years ago |
Sebastiaan van Stijn
|
0507c358d9
API: explicitely ignore unhandled errors
|
5 years ago |
Sebastiaan van Stijn
|
2a9c987e5a
Move httputils error helpers to errdefs package
|
6 years ago |
KimMachineGun
|
1377a2ddee
api/server, dockerversion: modify context key
|
6 years ago |
Kir Kolyshkin
|
7d62e40f7e
Switch from x/net/context -> context
|
7 years ago |
Daniel Nephin
|
4f0d95fa6e
Add canonical import comment
|
7 years ago |
Yong Tang
|
c36274da83
Merge pull request #35638 from cpuguy83/error_helpers2
|
7 years ago |
Sebastiaan van Stijn
|
dfac74a9e4
Golint: don't use basic untyped string for context key
|
7 years ago |
Brian Goff
|
d453fe35b9
Move api/errdefs to errdefs
|
7 years ago |
Brian Goff
|
87a12421a9
Add helpers to create errdef errors
|
7 years ago |
Brian Goff
|
ebcb7d6b40
Remove string checking in API error handling
|
8 years ago |
Derek McGowan
|
1009e6a40b
Update logrus to v1.0.1
|
8 years ago |
Vincent Demeester
|
565aa41392
Move some `api` package functions away
|
8 years ago |
Tonis Tiigi
|
64981b9f09
Move UAStringKey to dockerversion pkg
|
8 years ago |
zteBill
|
4b3a1bbda5
make each return explicitly
|
8 years ago |
Antonio Murdaca
|
d1d505fa70
api/server/httputils: compile with go < 1.7
|
8 years ago |
Yong Tang
|
0fa20ad13b
Disable HTML escaping for JSON strings in `docker inspect`
|
8 years ago |
Yanqiang Miao
|
81849600fc
delete a function which isn't used in the project
|
8 years ago |
allencloud
|
c1be45fa38
fix typos
|
9 years ago |
Vincent Demeester
|
7534f17261
Update code for latest engine-api
|
9 years ago |
Mike Goelzer
|
d1502afb63
Pass upstream client's user agent through to registry on image pulls
|
9 years ago |
allencloud
|
2736f77a94
fix typos
|
9 years ago |
David Calavera
|
a793564b25
Remove static errors from errors package.
|
9 years ago |
Liu Hua
|
343e15fa3f
remove unnecessary logs from daemon
|
9 years ago |
David Calavera
|
da982cf551
Separate API router from server.
|
9 years ago |