mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #49218 from caesarxuchao/limit-clientset-visibility
Automatic merge from submit-queue (batch tested with PRs 49218, 48253, 48967, 48460, 49230) Restrict the visibility of two generated packages in pkg/client/ These two packages are deprecated. Please use the client-go copy of these two packages. Currently staging/copy.sh copied these two packages to client-go. I'll send follow-up PRs to let code-gen output to client-go directly and remove these two packages. The purpose of this PR is to prevent more imports of these packages while I refactor the codegen.
This commit is contained in:
commit
19e4fac129
@ -16,6 +16,11 @@ go_library(
|
||||
"import_known_versions.go",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
visibility = [
|
||||
"//cmd/kube-controller-manager/app:__pkg__",
|
||||
"//pkg/client/clientset_generated/clientset:__subpackages__",
|
||||
"//pkg/client/informers:__subpackages__",
|
||||
],
|
||||
deps = [
|
||||
"//pkg/api:go_default_library",
|
||||
"//pkg/api/install:go_default_library",
|
||||
|
@ -14,6 +14,9 @@ go_library(
|
||||
"generic.go",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
visibility = [
|
||||
"//pkg/client/informers/informers_generated/externalversions:__subpackages__",
|
||||
],
|
||||
deps = [
|
||||
"//pkg/client/clientset_generated/clientset:go_default_library",
|
||||
"//pkg/client/informers/informers_generated/externalversions/admissionregistration:go_default_library",
|
||||
|
Loading…
Reference in New Issue
Block a user