Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversions have kube-isms and are not portable for downstream #25033

Merged

Conversation

smarterclayton
Copy link
Contributor

Some minor fixes to enable generators for OpenShift and others who need
to generate conversions on Kube API groups outside the core.

@deads2k

@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. release-note-label-needed labels May 2, 2016
@smarterclayton smarterclayton force-pushed the use_upstream_conversion branch from b70bad0 to c197f33 Compare May 2, 2016 04:40
@k8s-github-robot k8s-github-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 2, 2016
func DeepCopy_unversioned_ServerAddressByClientCIDR(in ServerAddressByClientCIDR, out *ServerAddressByClientCIDR, c *conversion.Cloner) error {
out.ClientCIDR = in.ClientCIDR
out.ServerAddress = in.ServerAddress
return nil
}

func DeepCopy_unversioned_Time(in Time, out *Time, c *conversion.Cloner) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possible problem here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function moved later in the file, diff is weird.

@deads2k
Copy link
Contributor

deads2k commented May 2, 2016

This would be nice downstream.

@smarterclayton smarterclayton force-pushed the use_upstream_conversion branch from c197f33 to 902ef28 Compare May 2, 2016 14:25
@wojtek-t
Copy link
Member

wojtek-t commented May 4, 2016

LGTM

@wojtek-t wojtek-t added release-note-none Denotes a PR that doesn't merit a release note. lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed release-note-label-needed labels May 4, 2016
@bgrant0607 bgrant0607 assigned wojtek-t and unassigned bgrant0607 May 7, 2016
@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 8, 2016
@smarterclayton smarterclayton force-pushed the use_upstream_conversion branch from 902ef28 to afbfcbf Compare May 8, 2016 16:08
@k8s-github-robot k8s-github-robot removed lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels May 8, 2016
@wojtek-t wojtek-t added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 8, 2016
@wojtek-t
Copy link
Member

wojtek-t commented May 8, 2016

lgtm

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 11, 2016
@mfojtik
Copy link
Contributor

mfojtik commented May 11, 2016

@smarterclayton can you rebase pls? (need to pick this for origin->k8s rebase)

Some minor fixes to enable generators for OpenShift and others who need
to generate conversions on Kube API groups outside the core.
We need to break the circular dependency on generation to the scheme.
@smarterclayton smarterclayton force-pushed the use_upstream_conversion branch from afbfcbf to adf3c38 Compare May 11, 2016 18:04
@k8s-github-robot k8s-github-robot removed lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels May 11, 2016
@smarterclayton smarterclayton added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 11, 2016
@k8s-bot
Copy link

k8s-bot commented May 11, 2016

GCE e2e build/test passed for commit adf3c38.

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented May 15, 2016

GCE e2e build/test passed for commit adf3c38.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants