k8s-merge-robot
acf9492cb1
Merge pull request #23660 from goltermann/vetclean
...
Automatic merge from submit-queue
Additional go vet fixes
Mostly:
- pass lock by value
- bad syntax for struct tag value
- example functions not formatted properly
2016-04-12 06:22:16 -07:00
goltermann
696423e044
Vet fixes, mostly pass lock by value errors.
2016-04-06 11:27:40 -07:00
Wojciech Tyczynski
2699be2e7e
Switch api.ObjetaMetaFor to meta.Accessor
2016-03-31 17:52:31 +02:00
Kris
dbde4fd798
Move the discovery client to its own package
2016-03-04 13:44:52 -08:00
Abhi Shah
b25a48d605
Revert "Move discovery client to its own package"
2016-03-04 09:24:54 -08:00
Kris
f22664159e
Move the discovery client to its own package
2016-02-29 15:37:21 -08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
deads2k
cf6234d219
add prioritized RESTMapper to registered
2016-02-25 07:35:23 -05:00
Eric Tune
175addf2a3
Implemented Batch client
2016-02-19 09:20:56 -08:00
Piotr Szczesniak
d9705940d6
Fixed and added tests
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
d2f11521cb
Implemented Autoscaling client
2016-02-15 21:39:00 +01:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Paul Weil
03261146b0
api
2016-02-05 08:45:50 -05:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
k8s-merge-robot
dff7490c57
Merge pull request #20312 from caesarxuchao/replace-many-controllers
...
Auto commit by PR queue bot
2016-01-31 18:42:26 -08:00
Chao Xu
c72d234bbf
replacing handwritten client in several controllers
2016-01-31 15:42:02 -08:00
Chao Xu
90b4662d8d
Add services/status path, and let the service controller uses Services.UpdateStatus()
2016-01-31 12:39:45 -08:00
Janet Kuo
3396db9510
Add rollback subresource; add rollback logic to deployment controller
2016-01-30 16:00:34 -08:00
Madhusudan.C.S
c25a0ce00d
Implement ReplicaSets client.
2016-01-28 22:36:22 -08:00
Paul Morie
9030f16071
Move ConfigMap to main API
2016-01-28 17:07:05 -05:00
Clayton Coleman
38c7eded99
Prepare for content-type negotiation
...
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.
Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Clayton Coleman
efe88e0818
Update client library to react to changes in Decoding
2016-01-22 13:27:24 -05:00
harry
98222b4d8b
Replace to tag
...
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
k8s-merge-robot
36dc6eab34
Merge pull request #19300 from caesarxuchao/move-SwaggerSchema-to-disocovery
...
Auto commit by PR queue bot
2016-01-13 23:20:08 -08:00
Chao Xu
144b5acd08
move ServerVersion to DiscoveryClient
2016-01-13 10:11:52 -08:00
David Oppenheimer
8ac484793d
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Daniel Martí
91fbff99dc
Properly close test http servers in unversioned
...
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:
client_test.go:522: expected an error, got Get http://127.0.0.1:46070/api : dial tcp 127.0.0.1:46070: socket: too many open files
Steps to reproduce (no longer fails):
godep go test -short -run '^$' -o test .
./test -test.run '^TestGetSwaggerSchema' -test.count 100
Note that this might not fail if your `ulimit -n` is not low enough.
2016-01-08 00:10:54 +01:00
k8s-merge-robot
500493a3ac
Merge pull request #18925 from caesarxuchao/refactor-registration
...
Auto commit by PR queue bot
2015-12-24 15:19:36 -08:00
Chao Xu
2b5b708b70
Refactor the API registration and installation
2015-12-23 22:44:25 -08:00
deads2k
20f9c2c545
find partial resource matches
2015-12-21 09:26:06 -05:00
Abhishek Shah
6f63875165
Reverting 18442
2015-12-17 16:57:29 -08:00
deads2k
9fda7f1812
update StatusDetails to handle Groups
2015-12-17 09:14:12 -05:00
k8s-merge-robot
5c4479f542
Merge pull request #18442 from deads2k/gv-restmapper-10
...
Auto commit by PR queue bot
2015-12-17 06:06:43 -08:00
Tamer Tas
c798a6ef01
ConfigMap resource and its REST implementation
2015-12-16 11:19:26 -05:00
deads2k
41b78ad2b6
find partial resource matches
2015-12-16 10:19:31 -05:00
Chao Xu
05e3cb8bfb
adding a mock.testType to test the generated client code
2015-12-14 11:24:44 -08:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
k8s-merge-robot
266ab4a796
Merge pull request #18487 from smarterclayton/guard_encode_decode
...
Auto commit by PR queue bot
2015-12-13 23:08:18 -08:00
k8s-merge-robot
c458cd7bb7
Merge pull request #18379 from deads2k/gv-newobject
...
Auto commit by PR queue bot
2015-12-13 13:33:16 -08:00
k8s-merge-robot
583b733a1e
Merge pull request #18309 from brendandburns/3rdparty2
...
Auto commit by PR queue bot
2015-12-12 01:23:06 -08:00
Jeff Lowdermilk
f6686ba3a4
Merge pull request #18290 from wojtek-t/fast_namespace_deletion
...
Support collection deletion in apiserver.
2015-12-11 13:34:56 -08:00
Brendan Burns
cee738871e
Add a client implementation for third party resources
2015-12-10 15:43:05 -08:00
Wojciech Tyczynski
f28bb68d8c
Support collection deletion in apiserver.
2015-12-10 09:46:25 +01:00
Clayton Coleman
1e21054134
Hide common codec methods under helpers
...
The pending codec -> conversion split changes the signature of
Encode and Decode to be more complicated. Create a stub helper
with the exact semantics of today and do the simple mechanical
refactor here to reduce the cost of that change.
2015-12-09 21:15:02 -05:00
Chao Xu
6f0eb521a6
Move pkg/client/unvrsioned#testClient to pkg/client/unversioned/testclient#simple
2015-12-09 10:39:28 -08:00
deads2k
519b4e80d1
update NewObject for groupversionkind
2015-12-09 08:13:15 -05:00
k8s-merge-robot
ec1ba7438f
Merge pull request #17796 from deads2k/gv-object-typer
...
Auto commit by PR queue bot
2015-12-07 12:34:55 -08:00
deads2k
66eecb963a
update more kubectl bits for groupversion
2015-12-07 09:01:44 -05:00
deads2k
f764e0099c
Update ObjectTyper to GroupVersion
2015-12-07 08:35:05 -05:00
Wojciech Tyczynski
6dcb689d4e
Simplify List() signature in clients.
2015-12-03 09:54:07 +01:00