yarntime@163.com
5416c3133d
add defaults test
2016-11-04 15:21:14 +08:00
Clayton Coleman
f0fa26bcf6
ExportOptions should be registered to all public schemas
2016-11-01 22:55:58 -04:00
Clayton Coleman
ab673bbc9a
generated: alternative unsafe conversions
2016-10-31 11:00:29 -04:00
Clayton Coleman
b5a46d914e
generated: conversions
2016-10-26 12:48:45 -04:00
Wojciech Tyczynski
bbb410c7af
generated: Safe conversions
2016-10-26 11:20:37 +02:00
Clayton Coleman
d1c39c0a76
generated: Unsafe conversions
2016-10-25 19:30:34 -04:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Clayton Coleman
742fb698d4
generated: Remove defaulting from conversion
2016-10-18 21:07:34 -04:00
Clayton Coleman
89b3a0d863
Register new defaulting functions
2016-10-18 21:07:34 -04:00
Clayton Coleman
745690a2d4
generated: Defaulters
2016-10-18 21:07:33 -04:00
Clayton Coleman
4324e39393
Flag all packages as needing defaulters
2016-10-18 21:07:33 -04:00
Kubernetes Submit Queue
6e2f5f8f6d
Merge pull request #28742 from jessfraz/test-go1.7rc1
...
Automatic merge from submit-queue
Update to go 1.7
<!--
Checklist for submitting a Pull Request
Please remove this comment block before submitting.
1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md ).
2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md ).
3. If you want this PR to automatically close an issue when it is merged,
add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>`
to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests ).
4. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes ) in the block below.
-->
Closes #33070
Closes #32999
```release-note
Updated Go to 1.7
```
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel )]()
This is to test go version 1.7
2016-10-18 05:59:04 -07:00
mbohlool
0191433d58
Generated protobufs
2016-10-17 09:11:20 -07:00
mbohlool
25afcc5522
Add +optional tag to all fields with omitempty json tag
2016-10-17 08:52:13 -07:00
Jess Frazelle
db33b491cc
update generated protobuf
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-10-13 21:22:59 -07:00
Ilya Dmitrichenko
abc0a98d25
Replace references to http://releases.k8s.io/HEAD/docs/user-guide/
2016-10-02 11:44:40 +01:00
deads2k
6f745a2107
use groupmetafactoryregistry
2016-09-20 07:39:40 -04:00
deads2k
4aa61ddcb2
remove dead mapper
2016-09-19 09:57:19 -04:00
mbohlool
702f55e61d
Add +k8s:openapi-gen tag to API types
2016-09-12 18:47:03 -07:00
Kris
e87edf9bd5
Split path validation into a separate library
2016-08-26 08:05:20 -07:00
Jedrzej Nowak
1cc36a7c42
Fix various typos in pkg/apis
2016-08-25 11:44:59 +02:00
jianhuiz
494129b089
add generated files
2016-08-22 23:00:23 -07:00
Daniel Smith
77f5813194
update generated files, including the client
2016-08-11 17:06:55 -07:00
Daniel Smith
f1fd638962
fix register.go files up + add test import
2016-08-11 17:06:54 -07:00
bindata-mockuser
6cce4534f8
Update generated code
2016-08-10 09:12:40 +02:00
Timothy St. Clair
24993b0343
Update generated files due to dependency shift.
...
Also minor bug fix in federation api.
2016-08-09 10:41:09 -05:00
k8s-merge-robot
fa174bcdaf
Merge pull request #29042 from dims/fixup-imports
...
Automatic merge from submit-queue
Use Go canonical import paths
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-18 07:23:38 -07:00
Davanum Srinivas
2b0ed014b7
Use Go canonical import paths
...
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-16 13:48:21 -04:00
Tim Hockin
3384e03920
Commit generated files
...
There's been enough people broken by not committing generated code, that we
should undo that until we have a proper client that is `go get` compatible.
This is temporary.
2016-07-15 10:27:51 -07:00
Clayton Coleman
866e788aba
generate: New Stringers
2016-07-14 12:43:36 -04:00
Tim Hockin
9eb42ff108
Don't check in generated conversion code
...
Conversion is now generated by Makefile, on demand, rather than all at once.
Manually verified no net change in generated code.
2016-07-12 21:52:54 -07:00
Tim Hockin
58441e8775
Don't check in generated deep-copy code
...
This mostly takes the previously checked in files and removes them, and moves
the generation to be on-demand instead of manual. Manually verified no change
in generated output.
2016-07-12 21:52:54 -07:00
Dr. Stefan Schimanski
629b25daf9
Run hack/update-all.sh
2016-07-12 20:36:48 +02:00
Tim Hockin
291b51ec50
Use file tags to generate conversions
...
This drives conversion generation from file tags like:
// +conversion-gen=k8s.io/my/internal/version
.. rather than hardcoded lists of packages.
The only net change in generated code can be explained as correct. Previously
it didn't know that conversion was available.
2016-07-07 22:09:08 -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
28af54138d
Use file tags to generate deep-copies
...
This drives most of the logic of deep-copy generation from tags like:
// +deepcopy-gen=package
..rather than hardcoded lists of packages. This will make it possible to
subsequently generate code ONLY for packages that need it *right now*, rather
than all of them always.
Also remove pkgs that really do not need deep-copies (no symbols used
anywhere).
2016-07-07 16:49:46 -07:00
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
Chao Xu
d9f07925be
let dynamic client handle non-registered ListOptions;
...
register ListOptions for apis/policy
2016-06-22 13:18:50 -07:00
Andy Goldstein
e3af3451c8
ObjectMeta, ListMeta, and TypeMeta should implement their interfaces
...
Make unversioned.ListMeta implement List. Update all the *List types so they implement GetListMeta.
This helps avoid using reflection to get list information.
Remove all unnecessary boilerplate, move the interfaces to the right
places, and add a test that verifies that objects implement one, the
other, but never both.
2016-06-10 13:28:54 -04:00
Clayton Coleman
2faf49c75c
Generated fields for inlining
2016-05-28 08:53:22 -04:00
Chao Xu
cc4ffe0714
add release_1_3 clientset in update-codegen
2016-05-25 21:14:16 -07:00
Tim Hockin
152c86ab06
Make name validators return string slices
2016-05-18 00:48:01 -07:00
Matt Liggett
2bc46d5085
It's 2016, yo.
2016-05-13 12:41:40 -07:00
Piotr Szczesniak
800c1a4d36
Auto-generated changes
2016-05-09 09:32:50 +02: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
Clayton Coleman
db5a851d0c
Inline default methods by hand in custom conversions
2016-05-07 11:55:31 -04:00
Clayton Coleman
7104be87cb
Regenerate conversions without reflection defaulting
2016-05-07 11:55:31 -04:00
Chao Xu
4562a26d34
generated changes
2016-05-04 21:54:55 -07:00
Clayton Coleman
99430cf5de
Strip side-effect imports from generated protobuf
2016-05-02 18:12:20 -04:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
Clayton Coleman
8d0187add2
Generation changes
2016-04-29 17:12:09 -04:00
Clayton Coleman
cf133ee03a
Convert remaining int types to fixed
...
Having internal and external integer types being different hides
potential conversion problems. Propagate that out further (which will
also allow us to better optimize conversion).
2016-04-29 17:12:04 -04:00
Clayton Coleman
3e36dd62c6
Move defaulter functions to public methods with a convention
...
Preparing to generate direct defaulter access.
2016-04-28 12:20:13 -04:00
Clayton Coleman
e16a7f2421
Initial protobuf generated files
2016-04-20 12:13:05 -04:00
Daniel Smith
490c68dbe3
Merge pull request #23768 from wojtek-t/conversions_with_framework_6
...
Migrate to new conversions generator - part 2
2016-04-14 11:30:21 -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
Wojciech Tyczynski
81265b8f85
Regenerate files
2016-04-11 08:07:40 +02:00
Wojciech Tyczynski
7448cc04e1
Switch to new generator
2016-04-11 08:04:45 +02:00
Wojciech Tyczynski
7e2fdeae7b
Regenerate autogenerate files
2016-03-17 15:22:19 +01:00
Piotr Szczesniak
205e3e607d
Added default cpu target for HPA
2016-03-02 09:38:26 +01:00
Madhusudan.C.S
312a7f36e2
Generated code.
2016-02-24 15:23:39 -08:00
Madhusudan.C.S
db29401857
Define the new Scale type in the autoscaling API group.
...
This new Scale type supports the more powerful set-based label selector
semantics. The selector, however, is stored in a serialized format, as
a string.
2016-02-24 15:23:31 -08:00
Eric Tune
b4d454e9d5
Autogenerate.
2016-02-19 09:48:03 -08:00
Piotr Szczesniak
e96515f590
Autogenerated conversions, deep copies, types
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
90c647eff9
API changes in HPA required for going to GA
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
2fbc5bb767
Created autoscaling API group and copied HPA there
2016-02-15 21:39:00 +01:00