nikhiljindal
73895c0418
Updating client-gen to support a user specified override on the resources to be included in generated client
2016-05-13 14:12:58 -07:00
Matt Liggett
2bc46d5085
It's 2016, yo.
2016-05-13 12:41:40 -07:00
Piotr Szczesniak
212b459817
Move internal types of hpa from pkg/apis/extensions to pkg/apis/autoscaling
2016-05-09 09:18:13 +02:00
Tim Hockin
7aff0f1486
Rename codecgen "testdata" dir so ugorji works
...
Go mistreats "testdata" and can't find vendor/ dirs.
2016-05-08 20:32:09 -07:00
Chao Xu
4562a26d34
generated changes
2016-05-04 21:54:55 -07:00
Wojciech Tyczynski
b4c83022e3
Add NegotiatedSerializer to config
2016-05-04 10:02:58 +02:00
k8s-merge-robot
8fba6de835
Merge pull request #24117 from XiaoningDing/federation-client
...
Automatic merge from submit-queue
Federation client for cluster
generate v1alpha1 and unversioned client for federation/clusters
#23653 , requires #23847 , #23998
@nikhiljindal @quinton-hoole @caesarxuchao
2016-05-02 01:41:08 -07:00
jianhuiz
d169fa6864
generate v1alpha and unversioned clientset for federation/clusters
2016-04-28 16:27:22 -07:00
gmarek
3171aac57c
Generated clients can return their RESTClients, RESTClient can return its RateLimiter
2016-04-27 22:15:10 +02:00
Maciej Szulik
a3b4447305
Move internal types of job from pkg/apis/extensions to pkg/apis/batch
2016-04-25 11:03:54 +02:00
k8s-merge-robot
495251b983
Merge pull request #24166 from gmarek/client
...
Automatic merge from submit-queue
All clients under ClientSet share one RateLimiter.
Currently we create a rate limiter for each client in client set. It makes the reasoning about rate limiting behavior much harder. This PR changes this behavior and now all clients in the set share single rate limiter. Ref. #24157
cc @lavalamp @wojtek-t
2016-04-21 22:31:23 -07:00
gmarek
b76bed0cc9
All clients under ClientSet share one RateLimiter.
2016-04-21 18:48:22 +02:00
Chao Xu
8537095415
use fully qualified resource in fake clients actions
2016-04-20 19:44:40 -07:00
k8s-merge-robot
8a76a1bd36
Merge pull request #24234 from goltermann/vetclean
...
Automatic merge from submit-queue
Enable go vet.
2016-04-20 14:50:37 -07:00
k8s-merge-robot
6402b04cf3
Merge pull request #24395 from caesarxuchao/use-serializer
...
Automatic merge from submit-queue
client-gen: use serializer instead of codec for versioned client
For a versioned client, because the output of every client method is a versioned object, so it should use a serializer instead of a codec that does conversion.
@lavalamp @krousey
2016-04-20 10:48:41 -07:00
goltermann
3fa6c6f6d9
Enable vet
2016-04-20 09:48:24 -07:00
Chao Xu
4b5ef393c8
client-gen: use serializer instead of codec for versioned client
2016-04-19 13:42:07 -07:00
Chao Xu
442c079e63
generate the fake clients in testoutput
2016-04-19 10:55:19 -07:00
Chao Xu
79c3d6683c
Client-gen: add fake clients to testoutput; in fake clients, fix the imports of packages that contains dots in the name
2016-04-19 10:55:01 -07:00
Chao Xu
bc0662b3e9
generated changes
2016-04-14 10:04:59 -07:00
Chao Xu
08fc35018a
Client-gen: handle dotted package name
2016-04-14 10:04:58 -07:00
goltermann
a3104ba96c
Final vet fixes; enabling vet checks in verify scripts.
2016-04-13 13:51:51 -07:00
Clayton Coleman
3474911736
Implement a streaming serializer for watch
...
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
2016-04-11 11:22:05 -04:00
Chao Xu
db518cf4ff
Generated code
2016-04-06 10:17:48 -07:00
Chao Xu
027710baf5
client-gen now generates the "generated by" comment in doc.go
2016-04-05 15:24:31 -07:00
Chao Xu
49559a3332
Generate the typed clients under the clientset folder
2016-03-31 15:28:45 -07:00
Chao Xu
0d37fbdff9
changes in client-gen
2016-03-29 14:49:12 -07:00
k8s-merge-robot
f6fac0e4de
Merge pull request #23443 from goltermann/vet2
...
Auto commit by PR queue bot
2016-03-25 23:43:44 -07:00
Chao Xu
3aa26565fc
move fake discovery client to pkg/client/typed/discovery/fake
2016-03-25 16:02:08 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
k8s-merge-robot
460ece34d5
Merge pull request #22928 from caesarxuchao/print-client-gen-command
...
Auto commit by PR queue bot
2016-03-16 00:38:39 -07:00
Wojciech Tyczynski
919afadbe7
Refactor import tracker
2016-03-15 16:02:18 +01:00
Chao Xu
f5ed9b3cd9
ignore verify-only flag
2016-03-14 10:28:20 -07:00
Chao Xu
ec02dfc9f0
generated changes
2016-03-14 10:28:20 -07:00
Chao Xu
d83175571d
include the client-gen arguments in the generated files
2016-03-14 10:28:20 -07:00
Jordan Liggitt
d008283942
Tolerate multiple registered versions in a single group
2016-03-12 12:49:41 -05: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
Abhi Shah
627edd2588
Merge pull request #22016 from krousey/discbreak
...
Move discovery client to its own package
2016-03-04 09:17:46 -08:00
k8s-merge-robot
d81d823ca5
Merge pull request #22393 from eparis/blunderbuss
...
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294
Move blunderbuss assignees into tree
2016-03-02 20:46:32 -05: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
Madhusudan.C.S
b69ec9faff
Teach serde test to deal with autoscaling group's duality.
2016-02-25 15:05:28 -08:00
k8s-merge-robot
1820da67a2
Merge pull request #21436 from caesarxuchao/clientget-doc
...
Auto commit by PR queue bot
2016-02-19 11:38:29 -08:00
Chao Xu
f255a723ac
add client-gen readme
2016-02-19 10:43:17 -08:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
Chao Xu
97aecd002a
remove underscore in imported pkg names
2016-02-16 10:54:51 -08:00
Chao Xu
b165ba2e00
generator's changes to remove underscore from imported package names
2016-02-16 10:19:32 -08:00
Chao Xu
e482501e8c
rename file names
2016-02-16 10:08:51 -08:00
Jordan Liggitt
dd5d98d80a
regen codecs
2016-02-13 09:15:39 -05:00
Chao Xu
1c84552757
generate the versioned clientset
2016-02-10 17:22:46 -08:00
k8s-merge-robot
2ec49efd54
Merge pull request #19945 from Clarifai/fix-formatting
...
Auto commit by PR queue bot
2016-02-09 16:05:00 -08:00
Jordan Liggitt
545f6be573
Regenerate types.go
2016-02-08 17:19:15 -05:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
k8s-merge-robot
65ebe19164
Merge pull request #20584 from caesarxuchao/release_1_2
...
Auto commit by PR queue bot
2016-02-03 19:46:27 -08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
derekwaynecarr
070dce1bec
Fix DeleteCollection in FakeClient
2016-02-03 14:39:24 -05:00
Rudi Chiarito
a0831a2378
Mass fix of Infof and co. missing the trailing "f", even when formatting placeholders are used
2016-02-03 11:34:59 -05:00
k8s-merge-robot
843c11e06a
Merge pull request #20452 from caesarxuchao/replace-client-kubelet
...
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Chao Xu
66f5cd259d
automatically generate the clientset
2016-02-02 16:06:43 -08:00
k8s-merge-robot
74c62aecc5
Merge pull request #20186 from lavalamp/import-boss
...
Auto commit by PR queue bot
2016-02-02 06:21:50 -08:00
k8s-merge-robot
2746b5e43d
Merge pull request #20320 from caesarxuchao/add-discovery
...
Auto commit by PR queue bot
2016-02-01 14:35:27 -08:00
Clayton Coleman
8692d260f8
Use Parameter codec in request.VersionedParams()
2016-01-30 14:14:20 -05:00
Chao Xu
8531ef4979
change ingress and componentstatus plural form
2016-01-29 11:21:04 -08:00
Chao Xu
dd357ed86a
include DiscoveryClient in the generated clientset
2016-01-29 11:03:03 -08:00
Daniel Smith
46d12b185e
Add 'import-boss': enforce go import restrictions.
2016-01-27 16:18:46 -08:00
k8s-merge-robot
67939eb933
Merge pull request #19958 from caesarxuchao/fix-resource-case
...
Auto commit by PR queue bot
2016-01-26 16:46:41 -08:00
k8s-merge-robot
d3b869ae14
Merge pull request #17922 from smarterclayton/split_codec
...
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
nikhiljindal
0ab152ddf2
Adding an example apiserver
2016-01-22 11:52:16 -08:00
Clayton Coleman
efe88e0818
Update client library to react to changes in Decoding
2016-01-22 13:27:24 -05:00
Clayton Coleman
c1d932e44a
Switch API objects to not register per version codecs
...
Remove Codec from versionInterfaces in meta (RESTMapper is now agnostic
to codec and serialization). Register api/latest.Codecs as the codec
factory and use latest.Codecs.LegacyCodec(version) as an equvialent to
the previous codec.
2016-01-22 01:10:21 -05:00
Chao Xu
0734248e42
Use lowercase names in individual typed clients
2016-01-21 15:01:47 -08:00
Chao Xu
030043b5be
Ingress's plural
2016-01-21 15:01:47 -08:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
k8s-merge-robot
03ecde1277
Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
...
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
Chao Xu
ee6f03f55a
Fix UpdateStatus
2016-01-20 21:15:07 -08:00
Chao Xu
fb81b2278e
client-gen now generates the fake client.
2016-01-19 17:27:17 -08:00
James DeFelice
75f487f7bf
AbsPath should be compatible with proxy-prefixes:
...
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
Chao Xu
00b18446ac
allow client-gen genereate typed client with only expansion methods
2016-01-14 12:13:01 -08:00
Chao Xu
ec9771ccb6
add nonNamespaced comment tag; change the interface name
2016-01-14 10:46:08 -08:00
k8s-merge-robot
ec78f3d5a9
Merge pull request #19349 from caesarxuchao/generate-updatestatus
...
Auto commit by PR queue bot
2016-01-13 16:51:33 -08:00
Chao Xu
5addb86f6a
conditionally generate UpdateStatus method
2016-01-13 15:45:21 -08:00
k8s-merge-robot
e7f29514ab
Merge pull request #19307 from caesarxuchao/remove-namespaceifscoped
...
Auto commit by PR queue bot
2016-01-13 11:01:54 -08:00
k8s-merge-robot
9e66a8f134
Merge pull request #18855 from deads2k/gv-stop-reverse
...
Auto commit by PR queue bot
2016-01-13 01:37:31 -08:00
Chao Xu
64083a0576
Generate the clientset
2016-01-12 11:30:04 -08:00
Chao Xu
a0489e8685
add expansion interface
2016-01-11 10:46:24 -08:00
Chao Xu
ea0086468c
remove the use of NamespaceIfScoped from generated clients
2016-01-06 16:20:44 -08:00
Chao Xu
f51da22bcf
regenerate the typed clients
2016-01-05 16:20:46 -08:00
Chao Xu
4b1a1057b3
lowercase the names of the generated client files
2016-01-04 14:45:25 -08:00
deads2k
e2d280a592
external versions no longer need reordering
2016-01-04 15:07:54 -05:00
Wojciech Tyczynski
5abdc2e944
Updage auto-generated files
2016-01-01 11:47:29 +01:00
Wojciech Tyczynski
9d912e843b
Update/verify client generator in scripts
2015-12-28 14:24:43 +01:00
Chao Xu
ad484c79f7
pass runtime.Scheme as parameter to AddToScheme
2015-12-23 23:21:35 -08:00
Chao Xu
2b5b708b70
Refactor the API registration and installation
2015-12-23 22:44:25 -08:00
Clayton Coleman
6d4612c8d2
Remove redundant / complex client code
2015-12-22 14:29:15 -05:00
Wojciech Tyczynski
ebc14e1a2e
Regenerate clients
2015-12-21 11:12:25 +01:00
Wojciech Tyczynski
b279227d83
Fix compile errors in DeleteCollection
2015-12-21 09:29:11 +01:00