Fixes #3756 by creating a new api_proto_library_internal build rule that (#3764)

adds the required visibility rules and delegates the rest to the generic
api_proto_library.  I tested the change by doing the following without
getting errors.

./ci/run_envoy_docker.sh './ci/do_ci.sh docs'

I changed the BUILD files using the following commands.

/envoy/api$ find . -type f -name BUILD | xargs sed -i -e 's/api_proto_library(/api_proto_library_internal(/g'

envoy/api$ find . -type f -name BUILD | xargs sed -i -e 's/"api_proto_library"/"api_proto_library_internal"/g'

Signed-off-by: mickey <mickeyju@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 4b871c0ab9350882271a490adcee44e613ed9807
pull/620/head
data-plane-api(CircleCI) 7 years ago
parent f0557ff45f
commit 8e13c8b4af
  1. 16
      bazel/api_build_system.bzl
  2. 8
      envoy/admin/v2alpha/BUILD
  3. 12
      envoy/api/v2/BUILD
  4. 4
      envoy/api/v2/auth/BUILD
  5. 6
      envoy/api/v2/cluster/BUILD
  6. 16
      envoy/api/v2/core/BUILD
  7. 6
      envoy/api/v2/endpoint/BUILD
  8. 4
      envoy/api/v2/listener/BUILD
  9. 4
      envoy/api/v2/ratelimit/BUILD
  10. 4
      envoy/api/v2/route/BUILD
  11. 6
      envoy/config/accesslog/v2/BUILD
  12. 4
      envoy/config/bootstrap/v2/BUILD
  13. 4
      envoy/config/filter/accesslog/v2/BUILD
  14. 4
      envoy/config/filter/fault/v2/BUILD
  15. 4
      envoy/config/filter/http/buffer/v2/BUILD
  16. 4
      envoy/config/filter/http/ext_authz/v2alpha/BUILD
  17. 4
      envoy/config/filter/http/fault/v2/BUILD
  18. 4
      envoy/config/filter/http/gzip/v2/BUILD
  19. 4
      envoy/config/filter/http/header_to_metadata/v2/BUILD
  20. 4
      envoy/config/filter/http/health_check/v2/BUILD
  21. 4
      envoy/config/filter/http/ip_tagging/v2/BUILD
  22. 4
      envoy/config/filter/http/jwt_authn/v2alpha/BUILD
  23. 4
      envoy/config/filter/http/lua/v2/BUILD
  24. 4
      envoy/config/filter/http/rate_limit/v2/BUILD
  25. 4
      envoy/config/filter/http/rbac/v2/BUILD
  26. 4
      envoy/config/filter/http/router/v2/BUILD
  27. 4
      envoy/config/filter/http/squash/v2/BUILD
  28. 4
      envoy/config/filter/http/transcoder/v2/BUILD
  29. 4
      envoy/config/filter/network/client_ssl_auth/v2/BUILD
  30. 4
      envoy/config/filter/network/ext_authz/v2/BUILD
  31. 4
      envoy/config/filter/network/http_connection_manager/v2/BUILD
  32. 4
      envoy/config/filter/network/mongo_proxy/v2/BUILD
  33. 4
      envoy/config/filter/network/rate_limit/v2/BUILD
  34. 4
      envoy/config/filter/network/redis_proxy/v2/BUILD
  35. 4
      envoy/config/filter/network/tcp_proxy/v2/BUILD
  36. 4
      envoy/config/grpc_credential/v2alpha/BUILD
  37. 4
      envoy/config/health_checker/redis/v2/BUILD
  38. 6
      envoy/config/metrics/v2/BUILD
  39. 4
      envoy/config/ratelimit/v2/BUILD
  40. 4
      envoy/config/rbac/v2alpha/BUILD
  41. 4
      envoy/config/trace/v2/BUILD
  42. 4
      envoy/config/transport_socket/capture/v2alpha/BUILD
  43. 4
      envoy/data/accesslog/v2/BUILD
  44. 4
      envoy/data/tap/v2alpha/BUILD
  45. 4
      envoy/extensions/filters/network/thrift_proxy/v2alpha1/BUILD
  46. 4
      envoy/service/accesslog/v2/BUILD
  47. 6
      envoy/service/auth/v2alpha/BUILD
  48. 8
      envoy/service/discovery/v2/BUILD
  49. 4
      envoy/service/load_stats/v2/BUILD
  50. 4
      envoy/service/metrics/v2/BUILD
  51. 4
      envoy/service/ratelimit/v2/BUILD
  52. 4
      envoy/service/trace/v2/BUILD
  53. 8
      envoy/type/BUILD
  54. 8
      envoy/type/matcher/BUILD
  55. 2
      test/validate/BUILD

@ -74,6 +74,17 @@ def api_go_grpc_library(name, proto, deps = []):
] ]
) )
# This is api_proto_library plus some logic internal to //envoy/api.
def api_proto_library_internal(visibility = ["//visibility:private"], **kwargs):
# //envoy/docs/build.sh needs visibility in order to generate documents.
if visibility == ["//visibility:private"]:
visibility = ["//docs"]
elif visibility != ["//visibility:public"]:
visibility = visibility + ["//docs"]
api_proto_library(visibility=visibility, **kwargs)
# TODO(htuch): has_services is currently ignored but will in future support # TODO(htuch): has_services is currently ignored but will in future support
# gRPC stub generation. # gRPC stub generation.
# TODO(htuch): Automatically generate go_proto_library and go_grpc_library # TODO(htuch): Automatically generate go_proto_library and go_grpc_library
@ -86,11 +97,6 @@ def api_proto_library(name, visibility = ["//visibility:private"], srcs = [], de
# it can play well with the PGV plugin and (2) other language support that # it can play well with the PGV plugin and (2) other language support that
# can make use of native proto_library. # can make use of native proto_library.
if visibility == ["//visibility:private"]:
visibility = ["//docs"]
elif visibility != ["//visibility:public"]:
visibility = visibility + ["//docs"]
native.proto_library( native.proto_library(
name = name, name = name,
srcs = srcs, srcs = srcs,

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "config_dump", name = "config_dump",
srcs = ["config_dump.proto"], srcs = ["config_dump.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
@ -14,7 +14,7 @@ api_proto_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "clusters", name = "clusters",
srcs = ["clusters.proto"], srcs = ["clusters.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
@ -26,7 +26,7 @@ api_proto_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "metrics", name = "metrics",
srcs = ["metrics.proto"], srcs = ["metrics.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],

@ -1,4 +1,4 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
@ -16,7 +16,7 @@ package_group(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "discovery", name = "discovery",
srcs = ["discovery.proto"], srcs = ["discovery.proto"],
visibility = [":friends"], visibility = [":friends"],
@ -29,7 +29,7 @@ api_go_proto_library(
deps = ["//envoy/api/v2/core:base_go_proto"], deps = ["//envoy/api/v2/core:base_go_proto"],
) )
api_proto_library( api_proto_library_internal(
name = "eds", name = "eds",
srcs = ["eds.proto"], srcs = ["eds.proto"],
has_services = 1, has_services = 1,
@ -55,7 +55,7 @@ api_go_grpc_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "cds", name = "cds",
srcs = ["cds.proto"], srcs = ["cds.proto"],
has_services = 1, has_services = 1,
@ -95,7 +95,7 @@ api_go_grpc_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "lds", name = "lds",
srcs = ["lds.proto"], srcs = ["lds.proto"],
has_services = 1, has_services = 1,
@ -119,7 +119,7 @@ api_go_grpc_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "rds", name = "rds",
srcs = ["rds.proto"], srcs = ["rds.proto"],
has_services = 1, has_services = 1,

@ -1,4 +1,4 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
@ -15,7 +15,7 @@ package_group(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "cert", name = "cert",
srcs = ["cert.proto"], srcs = ["cert.proto"],
visibility = [":friends"], visibility = [":friends"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "circuit_breaker", name = "circuit_breaker",
srcs = ["circuit_breaker.proto"], srcs = ["circuit_breaker.proto"],
visibility = [ visibility = [
@ -21,7 +21,7 @@ api_go_proto_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "outlier_detection", name = "outlier_detection",
srcs = ["outlier_detection.proto"], srcs = ["outlier_detection.proto"],
visibility = [ visibility = [

@ -1,4 +1,4 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
@ -16,7 +16,7 @@ package_group(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "address", name = "address",
srcs = ["address.proto"], srcs = ["address.proto"],
visibility = [ visibility = [
@ -31,7 +31,7 @@ api_go_proto_library(
deps = [":base_go_proto"], deps = [":base_go_proto"],
) )
api_proto_library( api_proto_library_internal(
name = "base", name = "base",
srcs = ["base.proto"], srcs = ["base.proto"],
visibility = [ visibility = [
@ -44,7 +44,7 @@ api_go_proto_library(
proto = ":base", proto = ":base",
) )
api_proto_library( api_proto_library_internal(
name = "health_check", name = "health_check",
srcs = ["health_check.proto"], srcs = ["health_check.proto"],
visibility = [ visibility = [
@ -59,7 +59,7 @@ api_go_proto_library(
deps = [":base_go_proto"], deps = [":base_go_proto"],
) )
api_proto_library( api_proto_library_internal(
name = "config_source", name = "config_source",
srcs = ["config_source.proto"], srcs = ["config_source.proto"],
visibility = [ visibility = [
@ -85,7 +85,7 @@ api_go_proto_library(
proto = ":http_uri", proto = ":http_uri",
) )
api_proto_library( api_proto_library_internal(
name = "http_uri", name = "http_uri",
srcs = ["http_uri.proto"], srcs = ["http_uri.proto"],
visibility = [ visibility = [
@ -93,7 +93,7 @@ api_proto_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "grpc_service", name = "grpc_service",
srcs = ["grpc_service.proto"], srcs = ["grpc_service.proto"],
visibility = [ visibility = [
@ -108,7 +108,7 @@ api_go_proto_library(
deps = [":base_go_proto"], deps = [":base_go_proto"],
) )
api_proto_library( api_proto_library_internal(
name = "protocol", name = "protocol",
srcs = ["protocol.proto"], srcs = ["protocol.proto"],
visibility = [ visibility = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "endpoint", name = "endpoint",
srcs = ["endpoint.proto"], srcs = ["endpoint.proto"],
visibility = ["//envoy/api/v2:friends"], visibility = ["//envoy/api/v2:friends"],
@ -29,7 +29,7 @@ api_go_proto_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "load_report", name = "load_report",
srcs = ["load_report.proto"], srcs = ["load_report.proto"],
visibility = ["//envoy/api/v2:friends"], visibility = ["//envoy/api/v2:friends"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "listener", name = "listener",
srcs = ["listener.proto"], srcs = ["listener.proto"],
visibility = ["//envoy/api/v2:friends"], visibility = ["//envoy/api/v2:friends"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "ratelimit", name = "ratelimit",
srcs = ["ratelimit.proto"], srcs = ["ratelimit.proto"],
visibility = ["//envoy/api/v2:friends"], visibility = ["//envoy/api/v2:friends"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "route", name = "route",
srcs = ["route.proto"], srcs = ["route.proto"],
visibility = ["//envoy/api/v2:friends"], visibility = ["//envoy/api/v2:friends"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "als", name = "als",
srcs = ["als.proto"], srcs = ["als.proto"],
deps = [ deps = [
@ -10,7 +10,7 @@ api_proto_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "file", name = "file",
srcs = ["file.proto"], srcs = ["file.proto"],
) )

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "bootstrap", name = "bootstrap",
srcs = ["bootstrap.proto"], srcs = ["bootstrap.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "accesslog", name = "accesslog",
srcs = ["accesslog.proto"], srcs = ["accesslog.proto"],
visibility = [ visibility = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "fault", name = "fault",
srcs = ["fault.proto"], srcs = ["fault.proto"],
visibility = [ visibility = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "buffer", name = "buffer",
srcs = ["buffer.proto"], srcs = ["buffer.proto"],
) )

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "ext_authz", name = "ext_authz",
srcs = ["ext_authz.proto"], srcs = ["ext_authz.proto"],
deps = [ deps = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "fault", name = "fault",
srcs = ["fault.proto"], srcs = ["fault.proto"],
deps = [ deps = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "gzip", name = "gzip",
srcs = ["gzip.proto"], srcs = ["gzip.proto"],
) )

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "header_to_metadata", name = "header_to_metadata",
srcs = ["header_to_metadata.proto"], srcs = ["header_to_metadata.proto"],
deps = [], deps = [],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "health_check", name = "health_check",
srcs = ["health_check.proto"], srcs = ["health_check.proto"],
deps = [ deps = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "ip_tagging", name = "ip_tagging",
srcs = ["ip_tagging.proto"], srcs = ["ip_tagging.proto"],
deps = ["//envoy/api/v2/core:address"], deps = ["//envoy/api/v2/core:address"],

@ -1,8 +1,8 @@
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
api_proto_library( api_proto_library_internal(
name = "jwt_authn", name = "jwt_authn",
srcs = ["config.proto"], srcs = ["config.proto"],
deps = [ deps = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "lua", name = "lua",
srcs = ["lua.proto"], srcs = ["lua.proto"],
) )

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "rate_limit", name = "rate_limit",
srcs = ["rate_limit.proto"], srcs = ["rate_limit.proto"],
) )

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "rbac", name = "rbac",
srcs = ["rbac.proto"], srcs = ["rbac.proto"],
deps = ["//envoy/config/rbac/v2alpha:rbac"], deps = ["//envoy/config/rbac/v2alpha:rbac"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "router", name = "router",
srcs = ["router.proto"], srcs = ["router.proto"],
deps = ["//envoy/config/filter/accesslog/v2:accesslog"], deps = ["//envoy/config/filter/accesslog/v2:accesslog"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "squash", name = "squash",
srcs = ["squash.proto"], srcs = ["squash.proto"],
) )

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "transcoder", name = "transcoder",
srcs = ["transcoder.proto"], srcs = ["transcoder.proto"],
) )

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "client_ssl_auth", name = "client_ssl_auth",
srcs = ["client_ssl_auth.proto"], srcs = ["client_ssl_auth.proto"],
deps = ["//envoy/api/v2/core:address"], deps = ["//envoy/api/v2/core:address"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "ext_authz", name = "ext_authz",
srcs = ["ext_authz.proto"], srcs = ["ext_authz.proto"],
deps = ["//envoy/api/v2/core:grpc_service"], deps = ["//envoy/api/v2/core:grpc_service"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "http_connection_manager", name = "http_connection_manager",
srcs = ["http_connection_manager.proto"], srcs = ["http_connection_manager.proto"],
deps = [ deps = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "mongo_proxy", name = "mongo_proxy",
srcs = ["mongo_proxy.proto"], srcs = ["mongo_proxy.proto"],
deps = ["//envoy/config/filter/fault/v2:fault"], deps = ["//envoy/config/filter/fault/v2:fault"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "rate_limit", name = "rate_limit",
srcs = ["rate_limit.proto"], srcs = ["rate_limit.proto"],
deps = ["//envoy/api/v2/ratelimit"], deps = ["//envoy/api/v2/ratelimit"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "redis_proxy", name = "redis_proxy",
srcs = ["redis_proxy.proto"], srcs = ["redis_proxy.proto"],
) )

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "tcp_proxy", name = "tcp_proxy",
srcs = ["tcp_proxy.proto"], srcs = ["tcp_proxy.proto"],
deps = [ deps = [

@ -1,8 +1,8 @@
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
api_proto_library( api_proto_library_internal(
name = "file_based_metadata", name = "file_based_metadata",
srcs = ["file_based_metadata.proto"], srcs = ["file_based_metadata.proto"],
deps = ["//envoy/api/v2/core:base"], deps = ["//envoy/api/v2/core:base"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "redis", name = "redis",
srcs = ["redis.proto"], srcs = ["redis.proto"],
) )

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "metrics_service", name = "metrics_service",
srcs = ["metrics_service.proto"], srcs = ["metrics_service.proto"],
visibility = [ visibility = [
@ -21,7 +21,7 @@ api_go_proto_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "stats", name = "stats",
srcs = ["stats.proto"], srcs = ["stats.proto"],
visibility = [ visibility = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "rls", name = "rls",
srcs = ["rls.proto"], srcs = ["rls.proto"],
visibility = [ visibility = [

@ -1,8 +1,8 @@
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
api_proto_library( api_proto_library_internal(
name = "rbac", name = "rbac",
srcs = ["rbac.proto"], srcs = ["rbac.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "trace", name = "trace",
srcs = ["trace.proto"], srcs = ["trace.proto"],
visibility = [ visibility = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "capture", name = "capture",
srcs = ["capture.proto"], srcs = ["capture.proto"],
deps = [ deps = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "accesslog", name = "accesslog",
srcs = ["accesslog.proto"], srcs = ["accesslog.proto"],
visibility = [ visibility = [

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "capture", name = "capture",
srcs = ["capture.proto"], srcs = ["capture.proto"],
deps = ["//envoy/api/v2/core:address"], deps = ["//envoy/api/v2/core:address"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_proto_library") load("//bazel:api_build_system.bzl", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "thrift_proxy", name = "thrift_proxy",
srcs = ["thrift_proxy.proto"], srcs = ["thrift_proxy.proto"],
) )

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "als", name = "als",
srcs = ["als.proto"], srcs = ["als.proto"],
has_services = 1, has_services = 1,

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "attribute_context", name = "attribute_context",
srcs = [ srcs = [
"attribute_context.proto", "attribute_context.proto",
@ -12,7 +12,7 @@ api_proto_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "external_auth", name = "external_auth",
srcs = [ srcs = [
"external_auth.proto", "external_auth.proto",

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "ads", name = "ads",
srcs = ["ads.proto"], srcs = ["ads.proto"],
has_services = 1, has_services = 1,
@ -19,7 +19,7 @@ api_go_grpc_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "hds", name = "hds",
srcs = ["hds.proto"], srcs = ["hds.proto"],
has_services = 1, has_services = 1,
@ -40,7 +40,7 @@ api_go_grpc_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "sds", name = "sds",
srcs = ["sds.proto"], srcs = ["sds.proto"],
has_services = 1, has_services = 1,

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "lrs", name = "lrs",
srcs = ["lrs.proto"], srcs = ["lrs.proto"],
has_services = 1, has_services = 1,

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "metrics_service", name = "metrics_service",
srcs = ["metrics_service.proto"], srcs = ["metrics_service.proto"],
has_services = 1, has_services = 1,

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "rls", name = "rls",
srcs = ["rls.proto"], srcs = ["rls.proto"],
has_services = 1, has_services = 1,

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_grpc_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "trace_service", name = "trace_service",
srcs = ["trace_service.proto"], srcs = ["trace_service.proto"],
has_services = 1, has_services = 1,

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "http_status", name = "http_status",
srcs = ["http_status.proto"], srcs = ["http_status.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
@ -13,7 +13,7 @@ api_go_proto_library(
proto = ":http_status", proto = ":http_status",
) )
api_proto_library( api_proto_library_internal(
name = "percent", name = "percent",
srcs = ["percent.proto"], srcs = ["percent.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
@ -24,7 +24,7 @@ api_go_proto_library(
proto = ":percent", proto = ":percent",
) )
api_proto_library( api_proto_library_internal(
name = "range", name = "range",
srcs = ["range.proto"], srcs = ["range.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],

@ -1,8 +1,8 @@
load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library") load("//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2
api_proto_library( api_proto_library_internal(
name = "metadata", name = "metadata",
srcs = ["metadata.proto"], srcs = ["metadata.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
@ -21,7 +21,7 @@ api_go_proto_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "number", name = "number",
srcs = ["number.proto"], srcs = ["number.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
@ -38,7 +38,7 @@ api_go_proto_library(
], ],
) )
api_proto_library( api_proto_library_internal(
name = "string", name = "string",
srcs = ["string.proto"], srcs = ["string.proto"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],

@ -1,4 +1,4 @@
load("//bazel:api_build_system.bzl", "api_cc_test", "api_proto_library") load("//bazel:api_build_system.bzl", "api_cc_test", "api_proto_library_internal")
licenses(["notice"]) # Apache 2 licenses(["notice"]) # Apache 2

Loading…
Cancel
Save