Move prometheus visibility rules to build/visible_to
This commit is contained in:
2
vendor/github.com/prometheus/procfs/BUILD
generated
vendored
2
vendor/github.com/prometheus/procfs/BUILD
generated
vendored
@@ -33,7 +33,7 @@ go_library(
|
||||
],
|
||||
importmap = "k8s.io/kubernetes/vendor/github.com/prometheus/procfs",
|
||||
importpath = "github.com/prometheus/procfs",
|
||||
visibility = ["//staging/src/k8s.io/component-base/metrics:prometheus_import_allow_list"],
|
||||
visibility = ["//build/visible_to:vendor_githubcom_prometheus_CONSUMERS"],
|
||||
deps = [
|
||||
"//vendor/github.com/prometheus/procfs/internal/fs:go_default_library",
|
||||
"//vendor/github.com/prometheus/procfs/internal/util:go_default_library",
|
||||
|
2
vendor/github.com/prometheus/procfs/internal/fs/BUILD
generated
vendored
2
vendor/github.com/prometheus/procfs/internal/fs/BUILD
generated
vendored
@@ -5,7 +5,7 @@ go_library(
|
||||
srcs = ["fs.go"],
|
||||
importmap = "k8s.io/kubernetes/vendor/github.com/prometheus/procfs/internal/fs",
|
||||
importpath = "github.com/prometheus/procfs/internal/fs",
|
||||
visibility = ["//staging/src/k8s.io/component-base/metrics:prometheus_import_allow_list"],
|
||||
visibility = ["//build/visible_to:vendor_githubcom_prometheus_CONSUMERS"],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
|
2
vendor/github.com/prometheus/procfs/internal/util/BUILD
generated
vendored
2
vendor/github.com/prometheus/procfs/internal/util/BUILD
generated
vendored
@@ -10,7 +10,7 @@ go_library(
|
||||
],
|
||||
importmap = "k8s.io/kubernetes/vendor/github.com/prometheus/procfs/internal/util",
|
||||
importpath = "github.com/prometheus/procfs/internal/util",
|
||||
visibility = ["//staging/src/k8s.io/component-base/metrics:prometheus_import_allow_list"],
|
||||
visibility = ["//build/visible_to:vendor_githubcom_prometheus_CONSUMERS"],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
|
Reference in New Issue
Block a user