Commit Graph

518 Commits (1242e087a14b4a90924a67fb0511f191d0848af2)

Author SHA1 Message Date
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