Xing Yang
|
897e3c8d11
|
Add generated files
|
2018-09-12 17:34:51 -07:00 |
|
stewart-yu
|
f1343af5d7
|
auto-generated file
|
2018-07-28 07:54:17 +08:00 |
|
Jeff Grafton
|
23ceebac22
|
Run hack/update-bazel.sh
|
2018-06-22 16:22:57 -07:00 |
|
David Eads
|
94e3d94d67
|
update tests to be specific about the versions they are testing instead of floating
|
2018-05-01 13:18:41 -04:00 |
|
David Eads
|
ef0d1ab819
|
remove incorrect static restmapper
|
2018-05-01 07:51:17 -04:00 |
|
Kubernetes Submit Queue
|
c46738a3f0
|
Merge pull request #60073 from justaugustus/int-to-int32ptr
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
Use `pkg/util/pointer` functions instead of self-written versions
**What this PR does / why we need it**:
Replaces instances of module-written `int(32|64)? --> *int(32|64)?` functions with functions from k8s.io/kubernetes/pkg/util/pointer
**Special notes for your reviewer**:
Here's the grep used, based on the comments in:
* https://github.com/kubernetes/kubernetes/pull/59924#issuecomment-366119396
* https://github.com/kubernetes/kubernetes/issues/59971#issue-297766556
```bash
$ git grep -E 'func\ [^ (]+\([^ ]+\ int(32|64)?\)\ \*int(32|64)?' !(vendor|staging) | grep -v pkg/util/pointer
pkg/apis/apps/v1/defaults_test.go:func newInt32(val int32) *int32 {
pkg/apis/apps/v1beta1/defaults_test.go:func newInt32(val int32) *int32 {
pkg/apis/apps/v1beta2/defaults_test.go:func newInt32(val int32) *int32 {
pkg/apis/autoscaling/v1/defaults_test.go:func newInt32(val int32) *int32 {
pkg/apis/autoscaling/v2beta1/defaults_test.go:func newInt32(val int32) *int32 {
pkg/apis/autoscaling/validation/validation_test.go:func newInt32(val int32) *int32 {
pkg/apis/batch/v1/defaults_test.go:func newInt32(val int32) *int32 {
pkg/apis/batch/v1beta1/defaults_test.go:func newInt32(val int32) *int32 {
pkg/apis/core/v1/defaults_test.go:func newInt(val int32) *int32 {
pkg/apis/core/validation/validation_test.go:func newInt32(val int) *int32 {
pkg/apis/extensions/v1beta1/defaults_test.go:func newInt32(val int32) *int32 {
pkg/controller/deployment/sync_test.go:func intOrStrP(val int) *intstr.IntOrString {
pkg/kubectl/autoscale_test.go:func newInt32(value int) *int32 {
plugin/pkg/admission/security/podsecuritypolicy/admission_test.go:func userIDPtr(i int) *int64 {
plugin/pkg/admission/security/podsecuritypolicy/admission_test.go:func groupIDPtr(i int) *int64 {
test/e2e/apps/deployment.go:func intOrStrP(num int) *intstr.IntOrString {
test/e2e/auth/pod_security_policy.go:func intPtr(i int64) *int64 {
test/integration/deployment/util.go:func intOrStrP(num int) *intstr.IntOrString {
```
**Release note**:
```release-note
NONE
```
/kind cleanup
/cc @php-coder
/assign @tallclair
|
2018-04-02 16:22:28 -07:00 |
|
wackxu
|
3076dc1190
|
update bazel and gofmt
|
2018-03-28 16:08:15 +08:00 |
|
Stephen Augustus
|
09aa0b9c1d
|
pkg/util/pointer: Update int pointer functions
* Implement `Int64Ptr` function
* Replace per module functions of `int(32|64)?` --> `*int(32|64)?`
* Update bazel rules
|
2018-03-27 10:30:01 -04:00 |
|
Lee Verberne
|
a41de1b734
|
Generated code for Shared Process Namespace
|
2018-02-21 19:13:06 +01:00 |
|
Jeff Grafton
|
ef56a8d6bb
|
Autogenerated: hack/update-bazel.sh
|
2018-02-16 13:43:01 -08:00 |
|
Jeff Grafton
|
efee0704c6
|
Autogenerate BUILD files
|
2017-12-23 13:12:11 -08:00 |
|
Zihong Zheng
|
38f4f9b303
|
Cleanup for service API validation
|
2017-12-01 12:10:49 -08:00 |
|
Yang Guo
|
34a7b3dea8
|
Create a separate conversion function for the field labels used by downward API
|
2017-11-22 11:02:20 -08:00 |
|
Yang Guo
|
82c9eec164
|
Expose single annotation/label via downward API
|
2017-11-21 19:21:10 -08:00 |
|
Scott Creeley
|
de4138d828
|
generated code for VolumeMode api change
|
2017-11-18 12:03:33 -05:00 |
|
Dr. Stefan Schimanski
|
bec617f3cc
|
Update generated files
|
2017-11-09 12:14:08 +01:00 |
|
Dr. Stefan Schimanski
|
3848e0a478
|
Move core api to pkg/apis/core
|
2017-11-09 12:08:42 +01:00 |
|