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

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

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

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

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/admission/v1/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 the given scheme.
ndex 78d21a0c8a7e0..1c53e755dd13b 100644
++ b/staging/src/k8s.io/api/admission/v1beta1/register.go

cfad9cef476dd80c6f69e54f6c9a1cc0568b1610

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

No branches or pull requests

0 participants