Rohit Jnagal
872546ba3a
Bulk move current info api to info/v1. Making room for info/v2.
2015-03-04 00:47:28 +00:00
Victor Marmol
eb6f9a9982
Adding extra logging to cAdvisor client errors
2015-01-22 14:59:41 -08:00
Victor Marmol
65b39c1ba9
Check HTTP error code in the cAdvisor client.
...
This will provide more meaningfull errors than the cryptic unmarshalling
ones we've gotten today.
Fixes #362 .
2014-12-16 11:28:42 -08:00
Victor Marmol
e3ab15417c
Ignore update errors for dead containers.
...
This adds an Exists() interface to detect when the container is dead.
Before reporting an update error we check is Exists() is true.
Some documentation was added as well.
2014-11-22 05:31:11 +08:00
Victor Marmol
181e12dda2
Refactoring and fixes of /docker API endpoint.
...
This canges the output of the Docker endpoint to be a map so that it is
more consistent from single to multiple returns. It also refactors
internally how we handle both types of requests.
Without this PR the /docker API endpoint is broken completely so this
change in format has no effect anyways.
These changes are tested by the upcoming integration tests.
2014-11-19 03:36:18 -08:00
Kevin McCarthy
83a4472d4e
Put client inside its own package
...
This will let me do things like import "github.com/google/cadvisor/client"
without needing to include all of cadvisor in my project
2014-10-20 02:05:52 +00:00
Victor Marmol
33ccd0949e
Adding Subcontainers to cAdvisor client.
...
Also refactoring and improvements.
2014-10-01 11:51:30 -07:00
Satnam Singh
bae82a583d
A few minor Go style suggestions.
2014-09-24 10:53:52 -07:00
Satnam Singh
6daa23d9a3
Some Go style suggestions for client.go and client_test.go
2014-09-22 16:25:06 -07:00
monnand
a7bb41305c
Merge pull request #125 from dchen1107/master
...
Create cAdvisor client without querying machine information.
2014-07-24 19:53:36 -04:00
Dawn Chen
60ed60faf9
cleanup
2014-07-24 16:48:27 -07:00
Dawn Chen
80f19664e4
Create cAdvisor client without querying machine information.
2014-07-24 16:35:44 -07:00
Nan Deng
6818ac9b9f
gofmt -r "ContainerInfoQuery->ContainerInfoRequest"
2014-07-08 18:04:57 -07:00
Nan Deng
d932d351ef
test on client library
2014-07-08 12:49:40 -07:00
Victor Marmol
712f9fb32f
Migrating cAdvisor code from lmctfy
2014-06-09 12:12:07 -07:00