Commit Graph

8 Commits

Author SHA1 Message Date
Tim Hockin
57c3196914 Add support for manually defined DeepCopy methods
In bringing back Clayton's PR piece-by-piece this was almost as easy to
implement as his version, and is much more like what I think we should be
doing.

Specifically, any time which defines a .DeepCopy() method will have that method
called preferentially.  Otherwise we generate our own functions for
deep-copying.  This affected exactly one type - resource.Quantity.  In applying
this heuristic, several places in the generated code were simplified.

To achieve this I had to convert types.Type.Methods from a slice to a map,
which seems correct anyway (to do by-name lookups).
2016-07-07 16:49:46 -07:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Maciej Szulik
e1aa8835d9 Generated changes to suspend becoming pointer for ScheduledJob 2016-05-30 15:52:58 +02:00
Maciej Szulik
22bada0060 Generated types for ScheduledJob 2016-05-11 13:51:33 +02:00
Maciej Szulik
df11a51b64 Generated changes for batch/v2alpha1 2016-05-10 22:40:22 +02:00
Clayton Coleman
8d0187add2
Generation changes 2016-04-29 17:12:09 -04:00
Maciej Szulik
c470afc206 Generated changes for moving job internals from pkg/apis/extensions to pkg/apis/batch 2016-04-25 11:03:57 +02:00
Eric Tune
b4d454e9d5 Autogenerate. 2016-02-19 09:48:03 -08:00