Commit Graph

15 Commits

Author SHA1 Message Date
Victor Marmol
9961e0f4d6 Output correct content-type with API responses.
Fixes #281
2014-10-27 08:33:22 -07:00
Victor Marmol
8aa05b0c39 Add API version v1.2 with /docker endpoint.
The /docker endpoint lists all Docker containers under one unified
namespace.
2014-10-20 22:24:01 -07:00
Satnam Singh
f3c92c381a More if undos. 2014-09-24 11:07:48 -07:00
Satnam Singh
bae82a583d A few minor Go style suggestions. 2014-09-24 10:53:52 -07:00
Satnam Singh
87768a047c Minor Go-style suggeston: move decode and error assignment into if clause check. 2014-09-22 15:21:06 -07:00
Victor Marmol
9dd8621686 Remove remaining parts of samples and percentiles. 2014-09-15 14:38:51 -07:00
Vishnu Kannan
3e390e0f33 Use glog instead of 'log' library.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-07 18:38:58 +00:00
Victor Marmol
41e27e40ef Adding v1.1 remote API.
Main addition is the "subcontainers" resource which provides
ContainerInfo for all subcontainers (recursively and including
self) of the specified container.
2014-08-01 16:17:43 -07:00
Victor Marmol
d2397e5ab7 Refactor API http handlers to prepare for versioning. 2014-08-01 10:13:58 -07:00
Nan Deng
55b65f4eb9 Retrieve 0 stats/samples when user asked for zero stats/samples 2014-07-23 17:28:41 -07:00
Nan Deng
6818ac9b9f gofmt -r "ContainerInfoQuery->ContainerInfoRequest" 2014-07-08 18:04:57 -07:00
Nan Deng
c1ecbc94a6 fmt.Errorf() 2014-07-08 17:30:35 -07:00
Nan Deng
38c5f0e29f empty query means default values 2014-07-07 22:10:25 -07:00
Nan Deng
4d0b365d43 let users decide how many stats/samples they want to retrieve 2014-07-07 22:04:30 -07:00
Victor Marmol
712f9fb32f Migrating cAdvisor code from lmctfy 2014-06-09 12:12:07 -07:00