Commit Graph

39 Commits

Author SHA1 Message Date
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
k8s-merge-robot
730a6a1d55 Merge pull request #18685 from caesarxuchao/client-gen-output
Auto commit by PR queue bot
2015-12-18 10:55:05 -08:00
Chao Xu
b61c9a4cf3 output of client-gen 2015-12-17 23:42:16 -08:00
Eric Tune
ad97b9c728 Undo unintentional changes to goidl testdata
Introduced by #17940 due to bug.  Bug fixed by #18860.
2015-12-17 16:00:56 -08:00
Maciej Szulik
327c104460 Added ActiveDeadlineSeconds to jobs, allowing failing a job after
exceeding allowed time.
2015-12-17 15:26:42 +01:00
k8s-merge-robot
cd59d1e59a Merge pull request #18700 from wojtek-t/fix_client_gen_script
Auto commit by PR queue bot
2015-12-16 23:57:08 -08:00
k8s-merge-robot
b888fcc8ef Merge pull request #18743 from caesarxuchao/second-comment-blcok
Auto commit by PR queue bot
2015-12-16 13:57:36 -08:00
Wojciech Tyczynski
4473abf3b5 Update client-generator 2015-12-16 13:59:58 +01:00
k8s-merge-robot
e309583ff1 Merge pull request #18473 from smarterclayton/change_runtime_object
Auto commit by PR queue bot
2015-12-16 04:24:22 -08:00
Chao Xu
5f0509a351 add SecondClosestCommentLines to go2idl types.Type 2015-12-15 22:30:58 -08:00
k8s-merge-robot
fc7c70dba3 Merge pull request #18373 from deads2k/gv-codecfor
Auto commit by PR queue bot
2015-12-15 19:28:48 -08:00
k8s-merge-robot
5a024848f1 Merge pull request #18687 from caesarxuchao/expand-orderer
Auto commit by PR queue bot
2015-12-15 15:23:35 -08:00
Clayton Coleman
8f203a28f1 Change runtime.Object signature 2015-12-15 13:36:25 -05:00
Chao Xu
0a09bbbf57 add OrderTypes() to Orderer 2015-12-15 10:07:59 -08:00
deads2k
6e33403abf update CodecFor for GroupVersion 2015-12-15 10:56:00 -05:00
deads2k
7a83ce60e6 refactor group registration 2015-12-15 08:37:07 -05:00
Chao Xu
05e3cb8bfb adding a mock.testType to test the generated client code 2015-12-14 11:24:44 -08:00
Chao Xu
a336ab1f3d address wojtek-t's comment 2015-12-11 10:27:54 -08:00
Chao Xu
80a8295bce update the client-gen to use the plural namer 2015-12-10 22:32:11 -08:00
Chao Xu
e2a30aba7a add a plural namer 2015-12-10 22:32:11 -08:00
Chao Xu
0d7d4c04a2 split Package.Types to Types, Variables and Functions;
add DeclarationOf Kind.
2015-12-03 12:03:47 -08:00
k8s-merge-robot
537405feda Merge pull request #18147 from wojtek-t/fix_client_gen
Auto commit by PR queue bot
2015-12-03 11:01:51 -08:00
Wojciech Tyczynski
8952210304 Adjust client-gen to the new interfaces. 2015-12-03 11:54:33 +01:00
Daniel Smith
ad925dd2e8 Add verification to code gen 2015-12-02 14:14:49 -08:00
Clayton Coleman
72df8bbfbe Allow go2idl to generate non-Go file types
Remove some indentation from file generation for specific languages,
allow SnippetWriter's io.Writer to be accessed, and add Path to
types.Name for languages where Package and Path can be disjoint.
2015-11-28 17:39:26 -05:00
Chao Xu
8d00e3514a add generator for group's client 2015-11-27 16:03:38 -08:00
k8s-merge-robot
14bebe343c Merge pull request #17757 from caesarxuchao/go2idl-add-functions
Auto commit by PR queue bot
2015-11-27 00:22:36 -08:00
Chao Xu
ff099bd460 First step of adding clinet-gen: add the generator that generates client code
for top-level types.
2015-11-25 10:06:31 -08:00
Chao Xu
75cf28b7df Track Func in Universe 2015-11-24 21:22:30 -08:00
Wojciech Tyczynski
68d2824a45 Generate deep copies with framework. 2015-11-12 10:38:25 +01:00
Wojciech Tyczynski
f991586db2 Support current package in RawNamer. 2015-11-09 13:31:18 +01:00
Daniel Smith
241551e36e set-gen example 2015-11-03 15:14:51 -08:00
Daniel Smith
048e42a36c new generator helper package, implements main() 2015-11-03 15:14:51 -08:00
Daniel Smith
4deda6ea98 Vendor in go1.5.1 dependency
* Changes to make vendored packages accept new home.
* Fix go2idl to import vendored packages.
2015-10-21 09:56:36 -07:00
Daniel Smith
5ac9b16ade First iteration of go2idl.
* Add support for pointers, map keys, more builtins, Alias types
* Support for packages & imports
* Add helper functions to types
* change generation interface
* fix naming/ordering
* SnippetWriter for templates
* Naming systems
* Use the standard packages for import resolution
* Documentation
2015-10-21 09:56:36 -07:00