Skip to content
New issue

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

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

Already on GitHub? # to your account

move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. #1766

Open
github-actions bot opened this issue Jan 11, 2021 · 0 comments
Open

move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. #1766

github-actions bot opened this issue Jan 11, 2021 · 0 comments
Labels

Comments

@github-actions
Copy link

move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.

localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.

https://github.com/pacoxu/kubernetes/blob/628f5f99fed4c277c3e3b94b83d229ee97ad0919/staging/src/k8s.io/api/admissionregistration/v1beta1/register.go#L36

}

// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
var (
	// SchemeBuilder points to a list of functions added to Scheme.
	SchemeBuilder      = runtime.NewSchemeBuilder(addKnownTypes)
	localSchemeBuilder = &SchemeBuilder
	// AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)

// Adds the list of known types to scheme.
ndex 2297b7e130ff5..67937509f46bf 100644
++ b/staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

11e031e0c2cebe95b62cea947fbc66805b19e5b6

@github-actions github-actions bot added the todo label Jan 11, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants