Clayton Coleman
4324e39393
Flag all packages as needing defaulters
2016-10-18 21:07:33 -04:00
Clayton Coleman
0aa8da19a9
Move old defaulters to public functions
...
Also make Deployment defaulting resilient to fuzzing
2016-10-18 21:07:32 -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
```
[]()
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
Łukasz Oleś
4ebe1f666a
Generated part for NumberReady
2016-10-12 15:36:01 +02:00
Łukasz Oleś
5d2e215652
Add NumberReady to DaemonSet status
...
Fixes #25605
2016-10-12 15:15:10 +02:00
Michail Kargakis
5589469948
Generated code for RS/RC conditions
2016-10-10 18:34:01 +02:00
Michail Kargakis
63a6ce3a87
extensions: add Conditions in replica sets
2016-10-10 18:34:01 +02:00
Chao Xu
a3861b9cb9
generated
2016-10-04 20:39:29 -07:00
Chao Xu
75cc05de82
manual changes to let client-gen use versioned options
2016-10-04 20:39:29 -07:00
Ilya Dmitrichenko
abc0a98d25
Replace references to http://releases.k8s.io/HEAD/docs/user-guide/
2016-10-02 11:44:40 +01:00
Kubernetes Submit Queue
5e792f3dbd
Merge pull request #33534 from yarntime/add-hpa-default-test
...
Automatic merge from submit-queue
Add test cases to test the default value of HorizontalPodAutoscaler
Add test cases to test the default value of HorizontalPodAutoscaler.
2016-10-01 07:50:49 -07:00
yarntime
f65d47659e
add test cases to test the default value of HPA
2016-09-30 16:21:48 +08:00
Michail Kargakis
d8dc2aac07
extensions: generated code for minReadySeconds/availableReplicas
2016-09-28 11:25:13 +02:00
Michail Kargakis
1df4ee3a9d
Custom conversion reactions to minReadySeconds/availableReplicas
2016-09-28 11:06:40 +02:00
Michail Kargakis
f7c232b8c6
extensions: add minReadySeconds/availableReplicas to replica sets
2016-09-28 11:06:40 +02:00
Tim Hockin
38d7c4b271
Conversion: log opted-out fields
2016-09-26 20:07:54 -07:00
Tim Hockin
7efb2d4738
Always emit autoConvert funcs, but call for help
...
Previously we refused to emit 'autoConvert_*' functions if any field was not
convertible. The way around this was to write manual Conversion functions, but
to do so safely you must handle every fields. Huge opportunity for errors.
This PR cleans up the filtering such that it only operates on types that should
be converted (remove a lot of code) and tracks when fields are skipped. In
that case, it emits an 'autoConvert' function but not a public 'Convert'
function. If there is no manual function, the compile will fail.
This also means that manual conversion functions can call autoConvert functions
and then "patch up" what they need.
2016-09-26 20:07:54 -07:00
mbohlool
702f55e61d
Add +k8s:openapi-gen tag to API types
2016-09-12 18:47:03 -07:00
Kubernetes Submit Queue
b73aa59901
Merge pull request #32110 from soltysh/issue31009
...
Automatic merge from submit-queue
Set Job's labels from PodTemplateSpec if none are specified
Fixes #31009 and replaces #32033 .
@AdoHe I've picked your changes, added the additional ones for 'batch/v2alpha1' and most importantly added tests for job's defaulting. ptal
2016-09-10 19:52:54 -07:00
deads2k
6320dc6e73
generated code for moving StorageClass
2016-09-06 08:41:17 -04:00
deads2k
cd5b6cc491
move StorageClass to its own group
2016-09-06 08:41:17 -04:00
Maciej Szulik
43612afaae
Set Job's labels from PodTemplateSpec if none are specified
2016-09-06 14:12:52 +02:00
Jedrzej Nowak
13b33e04cc
added auto generated stuff
2016-08-25 12:15:35 +02:00
Jedrzej Nowak
1cc36a7c42
Fix various typos in pkg/apis
2016-08-25 11:44:59 +02:00
Huamin Chen
dea4b0226d
support Azure data disk volume
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2016-08-23 13:23:07 +00:00
jianhuiz
494129b089
add generated files
2016-08-22 23:00:23 -07:00
Kubernetes Submit Queue
b569a8daa9
Merge pull request #31053 from justinsb/dont_close_over_range_loops
...
Automatic merge from submit-queue
Avoid closing over range variables
2016-08-22 17:40:25 -07:00
Michail Kargakis
46291d51df
api: generated code for readyReplicas
2016-08-21 15:47:23 +02:00
Michail Kargakis
ab3bc03a4f
api: add readyReplicas in RC/RS
2016-08-21 14:49:45 +02:00
Justin Santa Barbara
3aa4f50aba
Avoid closing over range variables
...
The consequence is only a misleading error message, but it is easy to
avoid.
2016-08-20 01:19:53 -04:00
Kubernetes Submit Queue
c19e9cc89d
Merge pull request #26044 from smarterclayton/multiversion_encode
...
Automatic merge from submit-queue
Guarantee that Encode handles nested objects again
2016-08-18 21:10:55 -07:00
Clayton Coleman
5f8366aac3
Convert() should accept the new conversion Context value
...
Allows Convert() to reuse the same conversions as ConvertToVersion
without being overly coupled to the version.
2016-08-18 14:45:20 -04:00
Johannes Scheuermann
eed42380f9
Initial Quobyte support
2016-08-18 17:13:50 +02:00
Piotr Szczesniak
dd142d3e95
Do not generate client for HPA in extensions
2016-08-12 15:01:25 +02: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
childsb
f5bd7d471e
API Changes for StorageClass
2016-07-28 19:01:01 -04: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