Commit Graph

3100 Commits

Author SHA1 Message Date
Vojtech Vitek (V-Teq)
6a6f24b126 Fix reflect panic in runtime/conversion
Fixes `panic: reflect: call of reflect.Value.Type on zero Value`
when calling conversion.EnforcePtr() or
runtime.Scheme.ObjectVersionAndKind() from default type switch.

Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-10-27 06:01:14 +01:00
Brendan Burns
5d4d60783d Add requirements based scheduling. 2014-10-25 22:08:00 -07:00
Brendan Burns
87c77e5ba7 Start adding git volumes. 2014-10-24 20:44:08 -07:00
Haney Maxwell
d709d8561a Allow e2e tests to run with vagrant 2014-10-24 17:16:10 -07:00
Daniel Smith
dc7e3d6601 Merge pull request #1937 from derekwaynecarr/update_client_interface
Rework client.Interface
2014-10-24 16:26:16 -07:00
markturansky
e2365b1f96 add RFC952 label validation 2014-10-24 16:01:52 -04:00
Clayton Coleman
d5ee171410 Allow clients to determine the difference between create or update on PUT
PUT allows an object to be created (http 201).  This allows REST code to
indicate an object has been created and clients to react to it.

APIServer now deals with <-chan RESTResult instead of <-chan runtime.Object,
allowing more data to be passed through.
2014-10-24 14:41:15 -04:00
Joe Beda
15008e1390 Merge pull request #1986 from thockin/errlist
Rename api ErrorList for clarity
2014-10-24 09:56:23 -07:00
Tim Hockin
d6effe3c6d Rename api ErrorList for clarity 2014-10-24 09:43:14 -07:00
derekwaynecarr
b7be298f54 Fix client structs to be package private 2014-10-24 11:49:04 -04:00
derekwaynecarr
ce30b2657a Fix integration tests 2014-10-24 11:49:04 -04:00
derekwaynecarr
c6eb371c93 Fixup unit tests 2014-10-24 11:49:04 -04:00
derekwaynecarr
341e404290 Fix sync service endpoints typo 2014-10-24 11:47:30 -04:00
derekwaynecarr
a18567f759 Update fake.go for client interface changes 2014-10-24 11:47:30 -04:00
derekwaynecarr
580cb5ea4f Rework client.Interface 2014-10-24 11:47:30 -04:00
Tim Hockin
2bbd11eda6 Merge pull request #1975 from smarterclayton/split_type_meta
Split TypeMeta into ObjectMeta/ListMeta
2014-10-24 08:43:00 -07:00
Clayton Coleman
1a1d62653b Merge pull request #1983 from smarterclayton/vagrant_util_wrong
Vagrant util has minion query for ID, not Name
2014-10-24 11:38:04 -04:00
Clayton Coleman
644eb70085 Refactor tests to split ObjectMeta from TypeMeta 2014-10-24 11:22:21 -04:00
Clayton Coleman
7550c146dc Replace struct initializers for TypeMeta with ObjectMeta 2014-10-24 11:22:21 -04:00
Clayton Coleman
bc748fadfa Whitespace and old comment removal 2014-10-24 11:22:21 -04:00
Clayton Coleman
1ffc82dfe6 createPod should copy the labels, not edit them in place 2014-10-24 11:22:21 -04:00
Clayton Coleman
2475eb06cb Remove use of embedded TypeMeta accessor 2014-10-24 11:22:20 -04:00
Clayton Coleman
0f011a055f Implement conversions for v1beta1/2 to internal ObjectMeta 2014-10-24 11:22:20 -04:00
Clayton Coleman
09800643e2 Change validation now that namespace is on ObjectMeta 2014-10-24 11:22:20 -04:00
Clayton Coleman
55163a7df1 Split TypeMeta into ObjectMeta and TypeMeta 2014-10-24 11:22:20 -04:00
Clayton Coleman
b5da5889e4 Merge pull request #1925 from thockin/klet
Accumulated cleanups to Kubelet
2014-10-24 11:20:29 -04:00
Clayton Coleman
bd1b3fb245 Vagrant util has minion query for ID, not Name
Related to the ID->Name refactor, noticed while running e2e
2014-10-23 23:12:04 -04:00
Johan Euphrosine
966c3dae70 boot2docker: add cluster bootstrap and doc 2014-10-23 18:06:17 -07:00
Daniel Smith
1e249be99d Start running e2e go tests. Disable broken test. 2014-10-23 16:13:46 -07:00
Tim Hockin
0a202354b9 Fix race between syncPod and syncPods 2014-10-23 15:53:26 -07:00
Tim Hockin
099934d49f Cleanups in syncPod 2014-10-23 15:53:26 -07:00
Tim Hockin
76c33a88b6 Remove redundancy in SyncPods 2014-10-23 15:53:26 -07:00
Tim Hockin
36a05ee871 Improve kubelet logging 2014-10-23 15:53:26 -07:00
Tim Hockin
487867bd01 Extract cadvisor code to cadvisor.go 2014-10-23 15:53:26 -07:00
Tim Hockin
de3060e4eb Rename httpGetInterface to httpGetter 2014-10-23 15:53:26 -07:00
Daniel Smith
e46af6e37f Merge pull request #1969 from smarterclayton/new_typemeta
Allow Meta lookup to work across ObjectType and ListMeta
2014-10-23 15:29:57 -07:00
Clayton Coleman
3df1c2f29d Use meta.Interface and meta.Accessor 2014-10-23 18:01:25 -04:00
Joe Beda
bf481a1546 Merge pull request #1976 from lavalamp/fix4
Fixes to e2e script
2014-10-23 14:59:33 -07:00
Daniel Smith
47f1cb966b Fixes to e2e script 2014-10-23 14:54:50 -07:00
Daniel Smith
4d1f025b0d Merge pull request #1974 from smarterclayton/errors_hidden_in_extract_list
EtcdHelper.decodeList was not properly returning errors
2014-10-23 14:10:02 -07:00
Clayton Coleman
3a89883223 EtcdHelper.decodeList was not properly returning errors 2014-10-23 16:48:16 -04:00
Joe Beda
02bfcd6b6d Merge pull request #1970 from vbatts/vbatts-cleaner_rmi
build: cleaner `docker rmi`
2014-10-23 13:02:02 -07:00
Brendan Burns
e1ae7bd16c Merge pull request #1973 from lavalamp/fix4
fix backwards compatible script
2014-10-23 12:52:37 -07:00
Daniel Smith
d055e279fe fix backwards compatible script 2014-10-23 12:51:21 -07:00
Tim Hockin
8fb51e70f3 Merge pull request #1971 from brendandburns/fix
Fix the guestbook e2e test.
2014-10-23 11:54:36 -07:00
Brendan Burns
dbb23abac2 Fix the guestbook e2e test. 2014-10-23 11:32:01 -07:00
Vincent Batts
22a457e46f build: cleaner docker rmi
no need to pipe to awk for orphan images

Signed-off-by: Vincent Batts <vbatts@redhat.com>
2014-10-23 14:28:34 -04:00
Tim Hockin
edf729ce71 Merge pull request #1968 from lavalamp/fix4
New e2e script (in go this time) that doesn't completely suck
2014-10-23 11:12:46 -07:00
Daniel Smith
bfabb41604 New e2e script (in go this time) that doesn't completely suck 2014-10-23 11:03:30 -07:00
Clayton Coleman
1414e90258 Merge pull request #1938 from eparis/fed-manual-config
Update the Fedora getting started guide a little
2014-10-23 12:33:19 -04:00