Move prometheus visibility rules to build/visible_to
This commit is contained in:
2
vendor/github.com/prometheus/common/expfmt/BUILD
generated
vendored
2
vendor/github.com/prometheus/common/expfmt/BUILD
generated
vendored
@@ -11,7 +11,7 @@ go_library(
|
||||
],
|
||||
importmap = "k8s.io/kubernetes/vendor/github.com/prometheus/common/expfmt",
|
||||
importpath = "github.com/prometheus/common/expfmt",
|
||||
visibility = ["//staging/src/k8s.io/component-base/metrics:prometheus_import_allow_list"],
|
||||
visibility = ["//build/visible_to:vendor_githubcom_prometheus_CONSUMERS"],
|
||||
deps = [
|
||||
"//vendor/github.com/golang/protobuf/proto:go_default_library",
|
||||
"//vendor/github.com/matttproud/golang_protobuf_extensions/pbutil:go_default_library",
|
||||
|
2
vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg/BUILD
generated
vendored
2
vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg/BUILD
generated
vendored
@@ -5,7 +5,7 @@ go_library(
|
||||
srcs = ["autoneg.go"],
|
||||
importmap = "k8s.io/kubernetes/vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg",
|
||||
importpath = "github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg",
|
||||
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/common/model/BUILD
generated
vendored
2
vendor/github.com/prometheus/common/model/BUILD
generated
vendored
@@ -17,7 +17,7 @@ go_library(
|
||||
],
|
||||
importmap = "k8s.io/kubernetes/vendor/github.com/prometheus/common/model",
|
||||
importpath = "github.com/prometheus/common/model",
|
||||
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