Commit Graph

60093 Commits (4cc5d3b9680a2cb22bf312f555b9a619dc8953c9)

Author SHA1 Message Date
Nan Deng 865ba190ff write headers after error checking 2014-06-19 22:28:48 +00:00
brendandburns 4f9ed15bc5 Merge pull request #177 from lavalamp/test_fix
fix e2e test
2014-06-19 15:21:06 -07:00
Nan Deng 979f832a0c write StatusOK to the header after json.Encode() 2014-06-19 22:12:32 +00:00
Daniel Smith 53f6f3ead2 fix e2e test 2014-06-19 14:57:06 -07:00
Daniel Smith f666131b5a Fix schema, regen docs 2014-06-19 14:55:17 -07:00
Nan Deng d001110df1 gofmt -s -w -l 2014-06-19 20:59:20 +00:00
brendandburns e031c193a3 Merge pull request #164 from lavalamp/master
Standardize terminology on "selector"
2014-06-19 13:55:27 -07:00
Nan Deng 2cc3a88411 unit test for GetContainerStats() 2014-06-19 20:44:53 +00:00
Nan Deng 1b9cb5d501 more unit test 2014-06-19 20:44:53 +00:00
Nan Deng b01a12fe34 more unit test for GetContainerStats() 2014-06-19 20:44:53 +00:00
Nan Deng 3080262f12 unit test for cadvisor 2014-06-19 20:44:53 +00:00
Nan Deng b66a822166 testify 2014-06-19 20:44:53 +00:00
Nan Deng c7eaa2095c GOPATH... 2014-06-19 20:44:52 +00:00
Nan Deng 037cfd257f add /containerStats 2014-06-19 20:44:52 +00:00
Nan Deng 2402e939c2 Add cAdvisor into third_party 2014-06-19 20:44:52 +00:00
Daniel Smith 936ce13862 Merge pull request #171 from brendandburns/poll
Wire in the pod cache.  Just used for List for now.
2014-06-19 13:37:53 -07:00
Daniel Smith 5a1a793784 fix after rebase 2014-06-19 13:33:36 -07:00
Daniel Smith 64b419072f Fix one more service example 2014-06-19 13:31:42 -07:00
Daniel Smith cfce408266 Rename ReplicasInSet to ReplicaSelector 2014-06-19 13:31:42 -07:00
Daniel Smith ee02cb2bf8 Update api sources. Still need to regen documentation. 2014-06-19 13:31:42 -07:00
Daniel Smith f9e9a7c686 Update guestbook example 2014-06-19 13:31:42 -07:00
Daniel Smith bc02b3c21a Rename [label] query to selector 2014-06-19 13:31:42 -07:00
Daniel Smith c4649d539b Separate labels and selector in services for clarity 2014-06-19 13:30:04 -07:00
brendandburns 59c08db4c1 Merge pull request #43 from drewcsillag/master
Add location of where to get the gcloud tools.
2014-06-19 10:12:03 -07:00
Drew Csillag a824581941 Add location of where to get the gcloud tools to README.md 2014-06-19 09:51:09 -04:00
Brendan Burns 302ec0f37b Wire in the pod cache. Just used for List for now. 2014-06-18 22:26:35 -07:00
Daniel Smith 4c7cc33066 Merge pull request #165 from brendandburns/replicas
On delete, also attempt to update controller state
2014-06-18 22:10:13 -07:00
Brendan Burns 84b2a9e9f3 On delete, also attempt to update controller state, in case we
missed a previous update.  Add a test to validate that this works
2014-06-18 21:32:55 -07:00
Daniel Smith 6cf4585ae8 Merge pull request #162 from brendandburns/poll
Add a PodCache that is responsible for caching pod information.
2014-06-18 21:06:38 -07:00
Brendan Burns 4f549aae54 Add a PodCache that is responsible for caching pod information.
Not wired in yet.
2014-06-18 20:04:52 -07:00
Daniel Smith e2974a0a75 Merge pull request #163 from brendandburns/cloudcfg
Add IP to hostname in cloudcfg printing.
2014-06-18 15:31:56 -07:00
Brendan Burns b3f0e1724d Add IP to hostname in cloudcfg printing. 2014-06-18 15:25:47 -07:00
Daniel Smith 28f9dfafb3 Merge pull request #161 from brendandburns/next
Add population of the host IP address when on GCE.
2014-06-18 15:04:05 -07:00
Brendan Burns 420b2fdd57 Add support for populating host ip address. 2014-06-18 14:57:50 -07:00
Brendan Burns 57869958bc Add IP look up if the Cloud Provider is not null
Add Instance info to the Cloud Provider interface
2014-06-18 14:27:43 -07:00
Daniel Smith c0d8636f40 Merge pull request #150 from brendandburns/tests
Add in service registry tests and a Fake Cloud impl.
2014-06-18 14:24:28 -07:00
Brendan Burns 31427d2d6f Add a fake cloud impl.
Update the service registry with unit tests.
2014-06-18 14:22:41 -07:00
brendandburns e6b8555ba8 Add quotes around ${TRAVIS}. 2014-06-18 13:59:03 -07:00
Daniel Smith 3124db63c6 Merge pull request #155 from brendandburns/scripts
Add a version check for go.
2014-06-18 13:53:42 -07:00
Brendan Burns 35bf0fc0b7 Add a version check for go. 2014-06-18 13:38:29 -07:00
brendandburns dbdb326eaf Merge pull request #144 from lavalamp/master
Refactor controller manager.
2014-06-18 13:26:41 -07:00
Daniel Smith a253209a2c Add test for watch goroutine handling, fix other review comments 2014-06-18 13:10:39 -07:00
Daniel Smith d8206503b8 Make integration/localkube work with new controller library 2014-06-18 13:10:39 -07:00
Daniel Smith 1b94f7b244 Fix race 2014-06-18 13:10:39 -07:00
Daniel Smith 7e464aa55c Test controller's synchronize method. Requires fake etcd client to be relocated. 2014-06-18 13:10:39 -07:00
Daniel Smith b6a260940c Fix fake handler so it can be used for more than one call. 2014-06-18 13:10:39 -07:00
Daniel Smith 3737b4e4e2 Fix bad lock handling. 2014-06-18 13:10:39 -07:00
Daniel Smith e74ac01a62 Move run logic into package 2014-06-18 13:10:39 -07:00
Daniel Smith 65d6280936 Move etcd helper to util so it can be used elsewhere, too 2014-06-18 13:10:39 -07:00
Daniel Smith a24116c7bd Move controller to it's own package, it's not part of the registry. 2014-06-18 13:10:39 -07:00