Commit Graph

13 Commits

Author SHA1 Message Date
Tim Hockin
1ba6f5df9e go2idl: Allow ... pkg specs
This is closer to standard Go semantics and obsoletes our custom --recursive
flag.
2016-07-07 16:49:46 -07:00
Tim Hockin
dc10f10e48 Recreate the opt-in/opt-out logic for deepcopy
This is the last piece of Clayton's #26179 to be implemented with file tags.
All diffs are accounted for.  Followup will use this to streamline some
packages.

Also add some V(5) debugging - it was helpful in diagnosing various issues, it
may be helpful again.
2016-07-07 16:49:46 -07:00
Tim Hockin
4c4c6fc40e go2idl: Add an 'output basename' option
This will be used when generated files are no longer checked in.  I include it
as a standalone commit for ease of review.
2016-07-07 16:49:46 -07:00
Tim Hockin
e18b2f3a2e Revert Clayton's #26179 so I can recreate it
His PR cam during the middle of this development cycle, and it was easier to
burn it down and recreate it than try to patch it into an existing series and
re-test every assumption.  This behavior will be re-introduced in subsequent
commits.
2016-07-07 16:49:46 -07:00
Clayton Coleman
903a2db90a
Make generated build tag parameterizable for go2idl
Downstream generators that want to reuse the upstream generated types
need to be able to define a different ignore tag (so that they can see
the already generated types).
2016-07-03 00:12:10 -04:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Clayton Coleman
0181ac61da
DeepCopy should only generate types in k8s.io/kubernetes
Also make generation more selective (require opt in) to prevent lots of
unnecessary generated deep copies.
2016-06-06 17:18:22 -04:00
Wojciech Tyczynski
74d005f1cf Generate DeepCopies per directory. 2016-03-17 09:28:11 +01:00
Daniel Smith
46d12b185e Add 'import-boss': enforce go import restrictions. 2016-01-27 16:18:46 -08:00
Chao Xu
64083a0576 Generate the clientset 2016-01-12 11:30:04 -08:00
Wojciech Tyczynski
9d912e843b Update/verify client generator in scripts 2015-12-28 14:24:43 +01:00
Daniel Smith
ad925dd2e8 Add verification to code gen 2015-12-02 14:14:49 -08:00
Daniel Smith
048e42a36c new generator helper package, implements main() 2015-11-03 15:14:51 -08:00