Commit Graph

21840 Commits

Author SHA1 Message Date
Clayton Coleman
1603e17c4a Merge pull request #436 from claire921/k
pkg/kubelet: explicitly return nil as error and nil as a result on error
2014-07-12 14:20:04 -04:00
Claire Li
10de5b12fe pkg/kubelet: explicitly return nil as error and nil as a result on error 2014-07-12 11:03:08 -07:00
Clayton Coleman
1af753a396 Merge pull request #420 from claire921/proxy
pkg/proxy: remove unnecessary go routine
2014-07-12 13:58:42 -04:00
Clayton Coleman
5ad37f0f38 Merge pull request #427 from nyaxt/lint_registry2
Add comments on registry/etcd_registry.go to address some of golint errors.
2014-07-12 13:54:13 -04:00
Clayton Coleman
3fd730c5fe Merge pull request #428 from claire921/selector
pkg/selector: set the cap for slice in SelectorFromSet
2014-07-12 13:52:36 -04:00
Claire Li
cdc44387c6 pkg/kubelet: clean up server http error handling 2014-07-12 10:44:29 -07:00
Claire Li
d0aad153ee pkg/master: correct error string for GetPodInfo 2014-07-11 23:09:43 -07:00
Claire Li
2b183943c2 pkg/selector: set the cap for slice in SelectorFromSet 2014-07-11 22:59:50 -07:00
Kouhei Ueno
12c9a73205 Add comments on registry/etcd_registry.go 2014-07-12 14:44:13 +09:00
Claire Li
78cad3fd5e pkg/proxy/config: clean up file.Run() 2014-07-11 22:41:06 -07:00
brendandburns
89655584eb Merge pull request #423 from claire921/onpudate
pkg/proxy: filtering before comparing
2014-07-11 22:33:09 -07:00
brendandburns
cde7b5841b Merge pull request #422 from claire921/use_splithostport
pkg/proxy: use net.SplitHostPort instead of strings.Split
2014-07-11 22:32:50 -07:00
brendandburns
ee4ec2af9e Merge pull request #421 from claire921/proxy_checking
pkg/proxy: remove unnecessary io.EOF checking
2014-07-11 22:32:32 -07:00
Claire Li
094b78d7de pkg/proxy: filtering before comparing 2014-07-11 22:13:29 -07:00
Claire Li
ba07dc804c pkg/proxy: use net.SplitHostPort instead of strings.Split 2014-07-11 22:08:53 -07:00
Claire Li
abcbce55ce pkg/proxy: remove unnecessary io.EOF checking 2014-07-11 21:51:24 -07:00
brendandburns
cdf75c57df Merge pull request #411 from nyaxt/lint_registry
Fixes go lint errors on pkg/registry/controller_registry.go
2014-07-11 21:41:58 -07:00
brendandburns
2ee074f9fa Merge pull request #410 from nyaxt/lint_scheduler
Add comments to pkg/scheduler/ to pass golint
2014-07-11 21:40:18 -07:00
Claire Li
4d47db8b5f pkg/proxy: remove unnecessary go routine 2014-07-11 21:34:42 -07:00
Kouhei Ueno
f932891428 removes a comment on New and a typo fix 2014-07-12 13:21:52 +09:00
Kouhei Ueno
bf137c38e7 remove comments on Make.+() 2014-07-12 13:16:16 +09:00
brendandburns
93d45c1e71 Merge pull request #414 from thockin/cleanups
Fix go idiom feedback
2014-07-11 14:47:05 -07:00
Tim Hockin
779cb84625 Merge pull request #397 from brendandburns/service
Add initial validation of Service objects
2014-07-11 14:43:47 -07:00
Brendan Burns
c9babe619e Updated to use the makeInvalidError helper function. 2014-07-11 14:24:55 -07:00
Brendan Burns
b59dcbbb80 Fix tests. 2014-07-11 14:24:54 -07:00
Brendan Burns
e9edfc754e Add initial validation of Service objects 2014-07-11 14:24:54 -07:00
Tim Hockin
1e05d1ac4e Merge pull request #394 from brendandburns/poddata
Try to grab live data if the cache has errors.
2014-07-11 11:55:54 -07:00
Tim Hockin
7d5398bda7 Fix go idiom feedback 2014-07-11 11:43:42 -07:00
Tim Hockin
f532038281 Merge pull request #345 from smarterclayton/fix_ids
Ensure pod and manifest have a UUID in apiserver
2014-07-11 11:29:00 -07:00
Brendan Burns
1b4dfe7d14 Move from bool to HealthCheckStatus 2014-07-11 10:15:31 -07:00
Brendan Burns
6312ffebcf Address some comments from thockin@ 2014-07-11 10:14:45 -07:00
Kouhei Ueno
bcbdbf6558 use New instead of Make and add comments to make golint happy 2014-07-11 22:46:22 +09:00
Yuki Yugui Sonoda
7373695e33 Fixes golint errors in pkg/proxy 2014-07-11 22:35:57 +09:00
Yuki Yugui Sonoda
88284171f2 Fixes golint errors in pkg/master 2014-07-11 22:28:27 +09:00
Yuki Yugui Sonoda
85fa11da93 Fixes golint errors in pkg/labels 2014-07-11 22:28:27 +09:00
Kouhei Ueno
e53658a3ed s/controllerId/controllerID/ to make golint happy. 2014-07-11 22:16:51 +09:00
Kouhei Ueno
e268e4bb7a Add comments to pkg/scheduler/ to pass golint 2014-07-11 22:01:12 +09:00
Kouhei Ueno
93def86a9e fix go lint errors in util 2014-07-11 21:04:34 +09:00
Burcu Dogan
1816a63d55 proxy: lock should be above the fields it protects. 2014-07-11 00:23:43 -07:00
Burcu Dogan
6a2703627b scheduler: use New rather than Make for construction helpers. 2014-07-10 22:56:14 -07:00
Burcu Dogan
e4d966744d proxy: fixing linting errors. 2014-07-10 22:36:06 -07:00
Burcu Dogan
f4d989ae92 labels: Fixing linting errors. 2014-07-10 22:08:12 -07:00
Tim Hockin
c134a16c36 fix go lint errors in util 2014-07-10 17:32:42 -07:00
Andrew Gerrand
a9fdf1f6b5 rename client.ClientInterface to client.Interface 2014-07-11 09:51:34 +10:00
Clayton Coleman
5896ac14da Ensure pod and manifest always have a UUID
* Fixes implication #2 in docs/identifiers.md
* Replication controller lets the apiserver set the pod ID
2014-07-10 18:03:48 -04:00
brendandburns
e6ee45d38e Merge pull request #395 from thockin/cleanups
IntOrString for use in JSON/YAML
2014-07-10 12:46:05 -07:00
Tim Hockin
32bcdbeb53 Merge pull request #396 from brendandburns/hostname
Add Hostname to the docker run command.
2014-07-10 12:28:30 -07:00
Brendan Burns
dc61547b95 Add Hostname to the docker run command. 2014-07-10 12:25:57 -07:00
Tim Hockin
06ac51e6e5 Merge pull request #389 from brendandburns/podip
Add PodIP to the info returned for a pod.
2014-07-10 11:18:05 -07:00
Tim Hockin
85effbbc3f IntOrString for use in JSON/YAML
Specifying an API type as IntOrString will allow JSON and YAML to accept
either ints or strings with the same name.  For example, port names or
numbers.
2014-07-10 11:09:47 -07:00