api: organize go_proto_libraries (#8003)

Fixes #7982

Defines a package level proto library and its associated internal go_proto_library.

Deletes all existing api_go_proto_library, api_go_grpc_library, and go_package annotations in protos (they are not required and pollute the sources).

I deliberately avoided touching anything under udpa since it's being moved to another repository.

Risk Level: low
Testing: build completes

Signed-off-by: Kuat Yessenov <kuat@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ d504fde0ffd97017d1ddff8caa9a3b46bba9ae48
pull/620/head
data-plane-api(CircleCI) 5 years ago
parent fc340a7258
commit 1bc3be0790
  1. 12
      bazel/BUILD
  2. 115
      bazel/api_build_system.bzl
  3. 7
      bazel/repositories.bzl
  4. 13
      envoy/admin/v2alpha/BUILD
  5. 13
      envoy/admin/v3alpha/BUILD
  6. 88
      envoy/api/v2/BUILD
  7. 18
      envoy/api/v2/auth/BUILD
  8. 1
      envoy/api/v2/auth/cert.proto
  9. 27
      envoy/api/v2/cluster/BUILD
  10. 1
      envoy/api/v2/cluster/circuit_breaker.proto
  11. 58
      envoy/api/v2/core/BUILD
  12. 1
      envoy/api/v2/core/base.proto
  13. 1
      envoy/api/v2/discovery.proto
  14. 31
      envoy/api/v2/endpoint/BUILD
  15. 1
      envoy/api/v2/endpoint/endpoint.proto
  16. 27
      envoy/api/v2/listener/BUILD
  17. 1
      envoy/api/v2/listener/listener.proto
  18. 1
      envoy/api/v2/listener/udp_listener_config.proto
  19. 9
      envoy/api/v2/ratelimit/BUILD
  20. 1
      envoy/api/v2/ratelimit/ratelimit.proto
  21. 22
      envoy/api/v2/route/BUILD
  22. 1
      envoy/api/v2/route/route.proto
  23. 88
      envoy/api/v3alpha/BUILD
  24. 18
      envoy/api/v3alpha/auth/BUILD
  25. 1
      envoy/api/v3alpha/auth/cert.proto
  26. 27
      envoy/api/v3alpha/cluster/BUILD
  27. 1
      envoy/api/v3alpha/cluster/circuit_breaker.proto
  28. 58
      envoy/api/v3alpha/core/BUILD
  29. 1
      envoy/api/v3alpha/core/base.proto
  30. 1
      envoy/api/v3alpha/discovery.proto
  31. 31
      envoy/api/v3alpha/endpoint/BUILD
  32. 1
      envoy/api/v3alpha/endpoint/endpoint.proto
  33. 27
      envoy/api/v3alpha/listener/BUILD
  34. 1
      envoy/api/v3alpha/listener/listener.proto
  35. 1
      envoy/api/v3alpha/listener/udp_listener_config.proto
  36. 9
      envoy/api/v3alpha/ratelimit/BUILD
  37. 1
      envoy/api/v3alpha/ratelimit/ratelimit.proto
  38. 22
      envoy/api/v3alpha/route/BUILD
  39. 1
      envoy/api/v3alpha/route/route.proto
  40. 12
      envoy/config/accesslog/v2/BUILD
  41. 1
      envoy/config/accesslog/v2/als.proto
  42. 1
      envoy/config/accesslog/v2/file.proto
  43. 12
      envoy/config/accesslog/v3alpha/BUILD
  44. 1
      envoy/config/accesslog/v3alpha/als.proto
  45. 1
      envoy/config/accesslog/v3alpha/file.proto
  46. 32
      envoy/config/bootstrap/v2/BUILD
  47. 1
      envoy/config/bootstrap/v2/bootstrap.proto
  48. 32
      envoy/config/bootstrap/v3alpha/BUILD
  49. 1
      envoy/config/bootstrap/v3alpha/bootstrap.proto
  50. 6
      envoy/config/cluster/dynamic_forward_proxy/v2alpha/BUILD
  51. 1
      envoy/config/cluster/dynamic_forward_proxy/v2alpha/cluster.proto
  52. 6
      envoy/config/cluster/dynamic_forward_proxy/v3alpha/BUILD
  53. 1
      envoy/config/cluster/dynamic_forward_proxy/v3alpha/cluster.proto
  54. 4
      envoy/config/cluster/redis/BUILD
  55. 1
      envoy/config/cluster/redis/redis_cluster.proto
  56. 6
      envoy/config/common/dynamic_forward_proxy/v2alpha/BUILD
  57. 6
      envoy/config/common/dynamic_forward_proxy/v3alpha/BUILD
  58. 9
      envoy/config/common/tap/v2alpha/BUILD
  59. 9
      envoy/config/common/tap/v3alpha/BUILD
  60. 20
      envoy/config/filter/accesslog/v2/BUILD
  61. 1
      envoy/config/filter/accesslog/v2/accesslog.proto
  62. 20
      envoy/config/filter/accesslog/v3alpha/BUILD
  63. 1
      envoy/config/filter/accesslog/v3alpha/accesslog.proto
  64. 4
      envoy/config/filter/dubbo/router/v2alpha1/BUILD
  65. 1
      envoy/config/filter/dubbo/router/v2alpha1/router.proto
  66. 6
      envoy/config/filter/fault/v2/BUILD
  67. 1
      envoy/config/filter/fault/v2/fault.proto
  68. 6
      envoy/config/filter/fault/v3alpha/BUILD
  69. 1
      envoy/config/filter/fault/v3alpha/fault.proto
  70. 6
      envoy/config/filter/http/adaptive_concurrency/v2alpha/BUILD
  71. 1
      envoy/config/filter/http/adaptive_concurrency/v2alpha/adaptive_concurrency.proto
  72. 6
      envoy/config/filter/http/adaptive_concurrency/v3alpha/BUILD
  73. 1
      envoy/config/filter/http/adaptive_concurrency/v3alpha/adaptive_concurrency.proto
  74. 4
      envoy/config/filter/http/buffer/v2/BUILD
  75. 1
      envoy/config/filter/http/buffer/v2/buffer.proto
  76. 4
      envoy/config/filter/http/buffer/v3alpha/BUILD
  77. 1
      envoy/config/filter/http/buffer/v3alpha/buffer.proto
  78. 9
      envoy/config/filter/http/csrf/v2/BUILD
  79. 1
      envoy/config/filter/http/csrf/v2/csrf.proto
  80. 9
      envoy/config/filter/http/csrf/v3alpha/BUILD
  81. 1
      envoy/config/filter/http/csrf/v3alpha/csrf.proto
  82. 6
      envoy/config/filter/http/dynamic_forward_proxy/v2alpha/BUILD
  83. 1
      envoy/config/filter/http/dynamic_forward_proxy/v2alpha/dynamic_forward_proxy.proto
  84. 6
      envoy/config/filter/http/dynamic_forward_proxy/v3alpha/BUILD
  85. 1
      envoy/config/filter/http/dynamic_forward_proxy/v3alpha/dynamic_forward_proxy.proto
  86. 10
      envoy/config/filter/http/ext_authz/v2/BUILD
  87. 1
      envoy/config/filter/http/ext_authz/v2/ext_authz.proto
  88. 10
      envoy/config/filter/http/ext_authz/v3alpha/BUILD
  89. 1
      envoy/config/filter/http/ext_authz/v3alpha/ext_authz.proto
  90. 10
      envoy/config/filter/http/fault/v2/BUILD
  91. 1
      envoy/config/filter/http/fault/v2/fault.proto
  92. 10
      envoy/config/filter/http/fault/v3alpha/BUILD
  93. 1
      envoy/config/filter/http/fault/v3alpha/fault.proto
  94. 4
      envoy/config/filter/http/grpc_http1_reverse_bridge/v2alpha1/BUILD
  95. 1
      envoy/config/filter/http/grpc_http1_reverse_bridge/v2alpha1/config.proto
  96. 4
      envoy/config/filter/http/gzip/v2/BUILD
  97. 1
      envoy/config/filter/http/gzip/v2/gzip.proto
  98. 4
      envoy/config/filter/http/gzip/v3alpha/BUILD
  99. 1
      envoy/config/filter/http/gzip/v3alpha/gzip.proto
  100. 5
      envoy/config/filter/http/header_to_metadata/v2/BUILD
  101. Some files were not shown because too many files have changed in this diff Show More

@ -0,0 +1,12 @@
load("@io_bazel_rules_go//proto:compiler.bzl", "go_proto_compiler")
licenses(["notice"]) # Apache 2
go_proto_compiler(
name = "pgv_plugin_go",
options = ["lang=go"],
plugin = "@com_envoyproxy_protoc_gen_validate//:protoc-gen-validate",
suffix = ".pb.validate.go",
valid_archive = False,
visibility = ["//visibility:public"],
)

@ -7,9 +7,23 @@ _PY_SUFFIX = "_py"
_CC_SUFFIX = "_cc"
_CC_EXPORT_SUFFIX = "_export_cc"
_GO_PROTO_SUFFIX = "_go_proto"
_GO_GRPC_SUFFIX = "_go_grpc"
_GO_IMPORTPATH_PREFIX = "github.com/envoyproxy/data-plane-api/api/"
_COMMON_PROTO_DEPS = [
"@com_google_protobuf//:any_proto",
"@com_google_protobuf//:descriptor_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:empty_proto",
"@com_google_protobuf//:struct_proto",
"@com_google_protobuf//:timestamp_proto",
"@com_google_protobuf//:wrappers_proto",
"@com_google_googleapis//google/api:http_proto",
"@com_google_googleapis//google/api:annotations_proto",
"@com_google_googleapis//google/rpc:status_proto",
"@com_github_gogo_protobuf//:gogo_proto",
"@com_envoyproxy_protoc_gen_validate//validate:validate_proto",
]
def _Suffix(d, suffix):
return d + suffix
@ -61,41 +75,6 @@ def py_proto_library(name, deps = []):
visibility = ["//visibility:public"],
)
def api_go_proto_library(name, proto, deps = []):
go_proto_library(
name = _Suffix(name, _GO_PROTO_SUFFIX),
importpath = _Suffix(_GO_IMPORTPATH_PREFIX, name),
proto = proto,
visibility = ["//visibility:public"],
deps = deps + [
"@com_github_gogo_protobuf//:gogo_proto_go",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
"@io_bazel_rules_go//proto/wkt:struct_go_proto",
"@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
"@io_bazel_rules_go//proto/wkt:wrappers_go_proto",
"@com_envoyproxy_protoc_gen_validate//validate:go_default_library",
"@com_google_googleapis//google/rpc:status_go_proto",
],
)
def api_go_grpc_library(name, proto, deps = []):
go_grpc_library(
name = _Suffix(name, _GO_GRPC_SUFFIX),
importpath = _Suffix(_GO_IMPORTPATH_PREFIX, name),
proto = proto,
visibility = ["//visibility:public"],
deps = deps + [
"@com_github_gogo_protobuf//:gogo_proto_go",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
"@io_bazel_rules_go//proto/wkt:struct_go_proto",
"@io_bazel_rules_go//proto/wkt:wrappers_go_proto",
"@com_envoyproxy_protoc_gen_validate//validate:go_default_library",
"@com_google_googleapis//google/api:annotations_go_proto",
],
)
# 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.
@ -108,8 +87,6 @@ def api_proto_library_internal(visibility = ["//visibility:private"], **kwargs):
# TODO(htuch): has_services is currently ignored but will in future support
# gRPC stub generation.
# TODO(htuch): Automatically generate go_proto_library and go_grpc_library
# from api_proto_library.
def api_proto_library(
name,
visibility = ["//visibility:private"],
@ -124,20 +101,7 @@ def api_proto_library(
native.proto_library(
name = name,
srcs = srcs,
deps = deps + external_proto_deps + [
"@com_google_protobuf//:any_proto",
"@com_google_protobuf//:descriptor_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:empty_proto",
"@com_google_protobuf//:struct_proto",
"@com_google_protobuf//:timestamp_proto",
"@com_google_protobuf//:wrappers_proto",
"@com_google_googleapis//google/api:http_proto",
"@com_google_googleapis//google/api:annotations_proto",
"@com_google_googleapis//google/rpc:status_proto",
"@com_github_gogo_protobuf//:gogo_proto",
"@com_envoyproxy_protoc_gen_validate//validate:validate_proto",
],
deps = deps + external_proto_deps + _COMMON_PROTO_DEPS,
visibility = visibility,
)
pgv_cc_proto_library(
@ -181,3 +145,50 @@ def api_go_test(name, size, importpath, srcs = [], deps = []):
importpath = importpath,
deps = deps,
)
_GO_BAZEL_RULE_MAPPING = {
"@opencensus_proto//opencensus/proto/trace/v1:trace_proto": "@opencensus_proto//opencensus/proto/trace/v1:trace_proto_go",
"@opencensus_proto//opencensus/proto/trace/v1:trace_config_proto": "@opencensus_proto//opencensus/proto/trace/v1:trace_and_config_proto_go",
"@com_google_googleapis//google/api/expr/v1alpha1:syntax_proto": "@com_google_googleapis//google/api/expr/v1alpha1:cel_go_proto",
}
def go_proto_mapping(dep):
mapped = _GO_BAZEL_RULE_MAPPING.get(dep)
if mapped == None:
return _Suffix("@" + Label(dep).workspace_name + "//" + Label(dep).package + ":" + Label(dep).name, _GO_PROTO_SUFFIX)
return mapped
def api_proto_package(name = "pkg", srcs = [], deps = [], has_services = False, visibility = ["//visibility:public"]):
if srcs == []:
srcs = native.glob(["*.proto"])
native.proto_library(
name = name,
srcs = srcs,
deps = deps + _COMMON_PROTO_DEPS,
visibility = visibility,
)
compilers = ["@io_bazel_rules_go//proto:go_proto", "//bazel:pgv_plugin_go"]
if has_services:
compilers = ["@io_bazel_rules_go//proto:go_grpc", "//bazel:pgv_plugin_go"]
go_proto_library(
name = _Suffix(name, _GO_PROTO_SUFFIX),
compilers = compilers,
importpath = _Suffix(_GO_IMPORTPATH_PREFIX, native.package_name()),
proto = name,
visibility = ["//visibility:public"],
deps = [go_proto_mapping(dep) for dep in deps] + [
"@com_github_gogo_protobuf//:gogo_proto_go",
"@com_github_golang_protobuf//ptypes:go_default_library",
"@com_github_golang_protobuf//ptypes/any:go_default_library",
"@com_github_golang_protobuf//ptypes/duration:go_default_library",
"@com_github_golang_protobuf//ptypes/struct:go_default_library",
"@com_github_golang_protobuf//ptypes/timestamp:go_default_library",
"@com_github_golang_protobuf//ptypes/wrappers:go_default_library",
"@com_envoyproxy_protoc_gen_validate//validate:go_default_library",
"@com_google_googleapis//google/api:annotations_go_proto",
"@com_google_googleapis//google/rpc:status_go_proto",
],
)

@ -161,7 +161,7 @@ filegroup(
ZIPKINAPI_BUILD_CONTENT = """
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library", "api_go_proto_library")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
api_proto_library(
@ -173,8 +173,9 @@ api_proto_library(
visibility = ["//visibility:public"],
)
api_go_proto_library(
name = "zipkin",
go_proto_library(
name = "zipkin_go_proto",
proto = ":zipkin",
visibility = ["//visibility:public"],
)
"""

@ -1,7 +1,18 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v2",
"//envoy/api/v2/auth",
"//envoy/api/v2/core",
"//envoy/config/bootstrap/v2:pkg",
"//envoy/service/tap/v2alpha:pkg",
"//envoy/type",
],
)
api_proto_library_internal(
name = "config_dump",
srcs = ["config_dump.proto"],

@ -1,7 +1,18 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v3alpha",
"//envoy/api/v3alpha/auth",
"//envoy/api/v3alpha/core",
"//envoy/config/bootstrap/v3alpha:pkg",
"//envoy/service/tap/v3alpha:pkg",
"//envoy/type",
],
)
api_proto_library_internal(
name = "config_dump",
srcs = ["config_dump.proto"],

@ -1,4 +1,4 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
@ -16,6 +16,21 @@ package_group(
],
)
api_proto_package(
name = "v2",
has_services = True,
deps = [
"//envoy/api/v2/auth",
"//envoy/api/v2/cluster",
"//envoy/api/v2/core",
"//envoy/api/v2/endpoint:pkg",
"//envoy/api/v2/listener:pkg",
"//envoy/api/v2/ratelimit:pkg",
"//envoy/api/v2/route:pkg",
"//envoy/type",
],
)
api_proto_library_internal(
name = "discovery",
srcs = ["discovery.proto"],
@ -23,12 +38,6 @@ api_proto_library_internal(
deps = ["//envoy/api/v2/core:base"],
)
api_go_proto_library(
name = "discovery",
proto = ":discovery",
deps = ["//envoy/api/v2/core:base_go_proto"],
)
api_proto_library_internal(
name = "eds",
srcs = ["eds.proto"],
@ -44,19 +53,6 @@ api_proto_library_internal(
],
)
api_go_grpc_library(
name = "eds",
proto = ":eds",
deps = [
":discovery_go_proto",
"//envoy/api/v2/core:address_go_proto",
"//envoy/api/v2/core:base_go_proto",
"//envoy/api/v2/core:health_check_go_proto",
"//envoy/api/v2/endpoint:endpoint_go_proto",
"//envoy/type:percent_go_proto",
],
)
api_proto_library_internal(
name = "cds",
srcs = ["cds.proto"],
@ -79,26 +75,6 @@ api_proto_library_internal(
],
)
api_go_grpc_library(
name = "cds",
proto = ":cds",
deps = [
":discovery_go_proto",
":eds_go_grpc",
"//envoy/api/v2/auth:cert_go_proto",
"//envoy/api/v2/cluster:circuit_breaker_go_proto",
"//envoy/api/v2/cluster:filter_go_proto",
"//envoy/api/v2/cluster:outlier_detection_go_proto",
"//envoy/api/v2/core:address_go_proto",
"//envoy/api/v2/core:base_go_proto",
"//envoy/api/v2/core:config_source_go_proto",
"//envoy/api/v2/core:health_check_go_proto",
"//envoy/api/v2/core:protocol_go_proto",
"//envoy/api/v2/endpoint:endpoint_go_proto",
"//envoy/type:percent_go_proto",
],
)
api_proto_library_internal(
name = "lds",
srcs = ["lds.proto"],
@ -113,18 +89,6 @@ api_proto_library_internal(
],
)
api_go_grpc_library(
name = "lds",
proto = ":lds",
deps = [
":discovery_go_proto",
"//envoy/api/v2/core:address_go_proto",
"//envoy/api/v2/core:base_go_proto",
"//envoy/api/v2/listener:listener_go_proto",
"//envoy/api/v2/listener:udp_listener_config_go_proto",
],
)
api_proto_library_internal(
name = "rds",
srcs = ["rds.proto"],
@ -138,17 +102,6 @@ api_proto_library_internal(
],
)
api_go_grpc_library(
name = "rds",
proto = ":rds",
deps = [
":discovery_go_proto",
"//envoy/api/v2/core:base_go_proto",
"//envoy/api/v2/core:config_source_go_proto",
"//envoy/api/v2/route:route_go_proto",
],
)
api_proto_library_internal(
name = "srds",
srcs = ["srds.proto"],
@ -160,12 +113,3 @@ api_proto_library_internal(
"//envoy/api/v2/route",
],
)
api_go_grpc_library(
name = "srds",
proto = ":srds",
deps = [
":discovery_go_proto",
"//envoy/api/v2/core:base_go_proto",
],
)

@ -1,4 +1,4 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
@ -15,6 +15,13 @@ package_group(
],
)
api_proto_package(
name = "auth",
deps = [
"//envoy/api/v2/core",
],
)
api_proto_library_internal(
name = "cert",
srcs = ["cert.proto"],
@ -24,12 +31,3 @@ api_proto_library_internal(
"//envoy/api/v2/core:config_source",
],
)
api_go_proto_library(
name = "cert",
proto = ":cert",
deps = [
"//envoy/api/v2/core:base_go_proto",
"//envoy/api/v2/core:config_source_go_proto",
],
)

@ -5,7 +5,6 @@ package envoy.api.v2.auth;
option java_outer_classname = "CertProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v2.auth";
option go_package = "auth";
import "envoy/api/v2/core/base.proto";
import "envoy/api/v2/core/config_source.proto";

@ -1,7 +1,14 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
name = "cluster",
deps = [
"//envoy/api/v2/core",
],
)
api_proto_library_internal(
name = "circuit_breaker",
srcs = ["circuit_breaker.proto"],
@ -13,14 +20,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "circuit_breaker",
proto = ":circuit_breaker",
deps = [
"//envoy/api/v2/core:base_go_proto",
],
)
api_proto_library_internal(
name = "outlier_detection",
srcs = ["outlier_detection.proto"],
@ -29,11 +28,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "outlier_detection",
proto = ":outlier_detection",
)
api_proto_library_internal(
name = "filter",
srcs = ["filter.proto"],
@ -41,8 +35,3 @@ api_proto_library_internal(
"//envoy/api/v2:__pkg__",
],
)
api_go_proto_library(
name = "filter",
proto = ":filter",
)

@ -5,7 +5,6 @@ package envoy.api.v2.cluster;
option java_outer_classname = "CircuitBreakerProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v2.cluster";
option go_package = "cluster";
option csharp_namespace = "Envoy.Api.V2.ClusterNS";
option ruby_package = "Envoy.Api.V2.ClusterNS";

@ -1,4 +1,4 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
@ -16,6 +16,13 @@ package_group(
],
)
api_proto_package(
name = "core",
deps = [
"//envoy/type",
],
)
api_proto_library_internal(
name = "address",
srcs = ["address.proto"],
@ -25,12 +32,6 @@ api_proto_library_internal(
deps = [":base"],
)
api_go_proto_library(
name = "address",
proto = ":address",
deps = [":base_go_proto"],
)
api_proto_library_internal(
name = "base",
srcs = ["base.proto"],
@ -43,15 +44,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "base",
proto = ":base",
deps = [
":http_uri_go_proto",
"//envoy/type:percent_go_proto",
],
)
api_proto_library_internal(
name = "health_check",
srcs = ["health_check.proto"],
@ -64,15 +56,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "health_check",
proto = ":health_check",
deps = [
":base_go_proto",
"//envoy/type:range_go_proto",
],
)
api_proto_library_internal(
name = "config_source",
srcs = ["config_source.proto"],
@ -85,20 +68,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "config_source",
proto = ":config_source",
deps = [
":base_go_proto",
":grpc_service_go_proto",
],
)
api_go_proto_library(
name = "http_uri",
proto = ":http_uri",
)
api_proto_library_internal(
name = "http_uri",
srcs = ["http_uri.proto"],
@ -116,12 +85,6 @@ api_proto_library_internal(
deps = [":base"],
)
api_go_proto_library(
name = "grpc_service",
proto = ":grpc_service",
deps = [":base_go_proto"],
)
api_proto_library_internal(
name = "protocol",
srcs = ["protocol.proto"],
@ -129,8 +92,3 @@ api_proto_library_internal(
":friends",
],
)
api_go_proto_library(
name = "protocol",
proto = ":protocol",
)

@ -5,7 +5,6 @@ package envoy.api.v2.core;
option java_outer_classname = "BaseProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v2.core";
option go_package = "core";
import "envoy/api/v2/core/http_uri.proto";

@ -5,7 +5,6 @@ package envoy.api.v2;
option java_outer_classname = "DiscoveryProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v2";
option go_package = "v2";
import "envoy/api/v2/core/base.proto";

@ -1,7 +1,14 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v2/auth",
"//envoy/api/v2/core",
],
)
api_proto_library_internal(
name = "endpoint",
srcs = ["endpoint.proto"],
@ -16,19 +23,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "endpoint",
proto = ":endpoint",
deps = [
"//envoy/api/v2/auth:cert_go_proto",
"//envoy/api/v2/core:address_go_proto",
"//envoy/api/v2/core:base_go_proto",
"//envoy/api/v2/core:config_source_go_proto",
"//envoy/api/v2/core:health_check_go_proto",
"//envoy/api/v2/core:protocol_go_proto",
],
)
api_proto_library_internal(
name = "load_report",
srcs = ["load_report.proto"],
@ -38,12 +32,3 @@ api_proto_library_internal(
"//envoy/api/v2/core:base",
],
)
api_go_proto_library(
name = "load_report",
proto = ":load_report",
deps = [
"//envoy/api/v2/core:address_go_proto",
"//envoy/api/v2/core:base_go_proto",
],
)

@ -5,7 +5,6 @@ package envoy.api.v2.endpoint;
option java_outer_classname = "EndpointProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v2.endpoint";
option go_package = "endpoint";
import "envoy/api/v2/core/address.proto";
import "envoy/api/v2/core/base.proto";

@ -1,7 +1,14 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v2/auth",
"//envoy/api/v2/core",
],
)
api_proto_library_internal(
name = "listener",
srcs = ["listener.proto"],
@ -13,16 +20,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "listener",
proto = ":listener",
deps = [
"//envoy/api/v2/auth:cert_go_proto",
"//envoy/api/v2/core:address_go_proto",
"//envoy/api/v2/core:base_go_proto",
],
)
api_proto_library_internal(
name = "udp_listener_config",
srcs = ["udp_listener_config.proto"],
@ -31,11 +28,3 @@ api_proto_library_internal(
"//envoy/api/v2/core:base",
],
)
api_go_proto_library(
name = "udp_listener_config",
proto = ":udp_listener_config",
deps = [
"//envoy/api/v2/core:base_go_proto",
],
)

@ -5,7 +5,6 @@ package envoy.api.v2.listener;
option java_outer_classname = "ListenerProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v2.listener";
option go_package = "listener";
option csharp_namespace = "Envoy.Api.V2.ListenerNS";
option ruby_package = "Envoy::Api::V2::ListenerNS";

@ -5,7 +5,6 @@ package envoy.api.v2.listener;
option java_outer_classname = "UdpListenerConfigProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v2.listener";
option go_package = "listener";
option csharp_namespace = "Envoy.Api.V2.ListenerNS";
option ruby_package = "Envoy::Api::V2::ListenerNS";

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

@ -5,7 +5,6 @@ package envoy.api.v2.ratelimit;
option java_outer_classname = "RatelimitProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v2.ratelimit";
option go_package = "ratelimit";
import "validate/validate.proto";

@ -1,7 +1,15 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v2/core",
"//envoy/type",
"//envoy/type/matcher",
],
)
api_proto_library_internal(
name = "route",
srcs = ["route.proto"],
@ -14,15 +22,3 @@ api_proto_library_internal(
"//envoy/type/matcher:string",
],
)
api_go_proto_library(
name = "route",
proto = ":route",
deps = [
"//envoy/api/v2/core:base_go_proto",
"//envoy/type:percent_go_proto",
"//envoy/type:range_go_proto",
"//envoy/type/matcher:regex_go_proto",
"//envoy/type/matcher:string_go_proto",
],
)

@ -5,7 +5,6 @@ package envoy.api.v2.route;
option java_outer_classname = "RouteProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v2.route";
option go_package = "route";
option java_generic_services = true;
import "envoy/api/v2/core/base.proto";

@ -1,4 +1,4 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
@ -16,6 +16,21 @@ package_group(
],
)
api_proto_package(
name = "v3alpha",
has_services = True,
deps = [
"//envoy/api/v3alpha/auth",
"//envoy/api/v3alpha/cluster",
"//envoy/api/v3alpha/core",
"//envoy/api/v3alpha/endpoint:pkg",
"//envoy/api/v3alpha/listener:pkg",
"//envoy/api/v3alpha/ratelimit:pkg",
"//envoy/api/v3alpha/route:pkg",
"//envoy/type",
],
)
api_proto_library_internal(
name = "discovery",
srcs = ["discovery.proto"],
@ -23,12 +38,6 @@ api_proto_library_internal(
deps = ["//envoy/api/v3alpha/core:base"],
)
api_go_proto_library(
name = "discovery",
proto = ":discovery",
deps = ["//envoy/api/v3alpha/core:base_go_proto"],
)
api_proto_library_internal(
name = "eds",
srcs = ["eds.proto"],
@ -44,19 +53,6 @@ api_proto_library_internal(
],
)
api_go_grpc_library(
name = "eds",
proto = ":eds",
deps = [
":discovery_go_proto",
"//envoy/api/v3alpha/core:address_go_proto",
"//envoy/api/v3alpha/core:base_go_proto",
"//envoy/api/v3alpha/core:health_check_go_proto",
"//envoy/api/v3alpha/endpoint:endpoint_go_proto",
"//envoy/type:percent_go_proto",
],
)
api_proto_library_internal(
name = "cds",
srcs = ["cds.proto"],
@ -79,26 +75,6 @@ api_proto_library_internal(
],
)
api_go_grpc_library(
name = "cds",
proto = ":cds",
deps = [
":discovery_go_proto",
":eds_go_grpc",
"//envoy/api/v3alpha/auth:cert_go_proto",
"//envoy/api/v3alpha/cluster:circuit_breaker_go_proto",
"//envoy/api/v3alpha/cluster:filter_go_proto",
"//envoy/api/v3alpha/cluster:outlier_detection_go_proto",
"//envoy/api/v3alpha/core:address_go_proto",
"//envoy/api/v3alpha/core:base_go_proto",
"//envoy/api/v3alpha/core:config_source_go_proto",
"//envoy/api/v3alpha/core:health_check_go_proto",
"//envoy/api/v3alpha/core:protocol_go_proto",
"//envoy/api/v3alpha/endpoint:endpoint_go_proto",
"//envoy/type:percent_go_proto",
],
)
api_proto_library_internal(
name = "lds",
srcs = ["lds.proto"],
@ -113,18 +89,6 @@ api_proto_library_internal(
],
)
api_go_grpc_library(
name = "lds",
proto = ":lds",
deps = [
":discovery_go_proto",
"//envoy/api/v3alpha/core:address_go_proto",
"//envoy/api/v3alpha/core:base_go_proto",
"//envoy/api/v3alpha/listener:listener_go_proto",
"//envoy/api/v3alpha/listener:udp_listener_config_go_proto",
],
)
api_proto_library_internal(
name = "rds",
srcs = ["rds.proto"],
@ -138,17 +102,6 @@ api_proto_library_internal(
],
)
api_go_grpc_library(
name = "rds",
proto = ":rds",
deps = [
":discovery_go_proto",
"//envoy/api/v3alpha/core:base_go_proto",
"//envoy/api/v3alpha/core:config_source_go_proto",
"//envoy/api/v3alpha/route:route_go_proto",
],
)
api_proto_library_internal(
name = "srds",
srcs = ["srds.proto"],
@ -160,12 +113,3 @@ api_proto_library_internal(
"//envoy/api/v3alpha/route",
],
)
api_go_grpc_library(
name = "srds",
proto = ":srds",
deps = [
":discovery_go_proto",
"//envoy/api/v3alpha/core:base_go_proto",
],
)

@ -1,4 +1,4 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
@ -15,6 +15,13 @@ package_group(
],
)
api_proto_package(
name = "auth",
deps = [
"//envoy/api/v3alpha/core",
],
)
api_proto_library_internal(
name = "cert",
srcs = ["cert.proto"],
@ -24,12 +31,3 @@ api_proto_library_internal(
"//envoy/api/v3alpha/core:config_source",
],
)
api_go_proto_library(
name = "cert",
proto = ":cert",
deps = [
"//envoy/api/v3alpha/core:base_go_proto",
"//envoy/api/v3alpha/core:config_source_go_proto",
],
)

@ -5,7 +5,6 @@ package envoy.api.v3alpha.auth;
option java_outer_classname = "CertProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v3alpha.auth";
option go_package = "auth";
import "envoy/api/v3alpha/core/base.proto";
import "envoy/api/v3alpha/core/config_source.proto";

@ -1,7 +1,14 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
name = "cluster",
deps = [
"//envoy/api/v3alpha/core",
],
)
api_proto_library_internal(
name = "circuit_breaker",
srcs = ["circuit_breaker.proto"],
@ -13,14 +20,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "circuit_breaker",
proto = ":circuit_breaker",
deps = [
"//envoy/api/v3alpha/core:base_go_proto",
],
)
api_proto_library_internal(
name = "outlier_detection",
srcs = ["outlier_detection.proto"],
@ -29,11 +28,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "outlier_detection",
proto = ":outlier_detection",
)
api_proto_library_internal(
name = "filter",
srcs = ["filter.proto"],
@ -41,8 +35,3 @@ api_proto_library_internal(
"//envoy/api/v3alpha:__pkg__",
],
)
api_go_proto_library(
name = "filter",
proto = ":filter",
)

@ -5,7 +5,6 @@ package envoy.api.v3alpha.cluster;
option java_outer_classname = "CircuitBreakerProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v3alpha.cluster";
option go_package = "cluster";
option csharp_namespace = "Envoy.Api.V2.ClusterNS";
option ruby_package = "Envoy.Api.V2.ClusterNS";

@ -1,4 +1,4 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_grpc_library", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
@ -16,6 +16,13 @@ package_group(
],
)
api_proto_package(
name = "core",
deps = [
"//envoy/type",
],
)
api_proto_library_internal(
name = "address",
srcs = ["address.proto"],
@ -25,12 +32,6 @@ api_proto_library_internal(
deps = [":base"],
)
api_go_proto_library(
name = "address",
proto = ":address",
deps = [":base_go_proto"],
)
api_proto_library_internal(
name = "base",
srcs = ["base.proto"],
@ -43,15 +44,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "base",
proto = ":base",
deps = [
":http_uri_go_proto",
"//envoy/type:percent_go_proto",
],
)
api_proto_library_internal(
name = "health_check",
srcs = ["health_check.proto"],
@ -64,15 +56,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "health_check",
proto = ":health_check",
deps = [
":base_go_proto",
"//envoy/type:range_go_proto",
],
)
api_proto_library_internal(
name = "config_source",
srcs = ["config_source.proto"],
@ -85,20 +68,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "config_source",
proto = ":config_source",
deps = [
":base_go_proto",
":grpc_service_go_proto",
],
)
api_go_proto_library(
name = "http_uri",
proto = ":http_uri",
)
api_proto_library_internal(
name = "http_uri",
srcs = ["http_uri.proto"],
@ -116,12 +85,6 @@ api_proto_library_internal(
deps = [":base"],
)
api_go_proto_library(
name = "grpc_service",
proto = ":grpc_service",
deps = [":base_go_proto"],
)
api_proto_library_internal(
name = "protocol",
srcs = ["protocol.proto"],
@ -129,8 +92,3 @@ api_proto_library_internal(
":friends",
],
)
api_go_proto_library(
name = "protocol",
proto = ":protocol",
)

@ -5,7 +5,6 @@ package envoy.api.v3alpha.core;
option java_outer_classname = "BaseProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v3alpha.core";
option go_package = "core";
import "envoy/api/v3alpha/core/http_uri.proto";

@ -5,7 +5,6 @@ package envoy.api.v3alpha;
option java_outer_classname = "DiscoveryProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v3alpha";
option go_package = "v2";
import "envoy/api/v3alpha/core/base.proto";

@ -1,7 +1,14 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v3alpha/auth",
"//envoy/api/v3alpha/core",
],
)
api_proto_library_internal(
name = "endpoint",
srcs = ["endpoint.proto"],
@ -16,19 +23,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "endpoint",
proto = ":endpoint",
deps = [
"//envoy/api/v3alpha/auth:cert_go_proto",
"//envoy/api/v3alpha/core:address_go_proto",
"//envoy/api/v3alpha/core:base_go_proto",
"//envoy/api/v3alpha/core:config_source_go_proto",
"//envoy/api/v3alpha/core:health_check_go_proto",
"//envoy/api/v3alpha/core:protocol_go_proto",
],
)
api_proto_library_internal(
name = "load_report",
srcs = ["load_report.proto"],
@ -38,12 +32,3 @@ api_proto_library_internal(
"//envoy/api/v3alpha/core:base",
],
)
api_go_proto_library(
name = "load_report",
proto = ":load_report",
deps = [
"//envoy/api/v3alpha/core:address_go_proto",
"//envoy/api/v3alpha/core:base_go_proto",
],
)

@ -5,7 +5,6 @@ package envoy.api.v3alpha.endpoint;
option java_outer_classname = "EndpointProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v3alpha.endpoint";
option go_package = "endpoint";
import "envoy/api/v3alpha/core/address.proto";
import "envoy/api/v3alpha/core/base.proto";

@ -1,7 +1,14 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v3alpha/auth",
"//envoy/api/v3alpha/core",
],
)
api_proto_library_internal(
name = "listener",
srcs = ["listener.proto"],
@ -13,16 +20,6 @@ api_proto_library_internal(
],
)
api_go_proto_library(
name = "listener",
proto = ":listener",
deps = [
"//envoy/api/v3alpha/auth:cert_go_proto",
"//envoy/api/v3alpha/core:address_go_proto",
"//envoy/api/v3alpha/core:base_go_proto",
],
)
api_proto_library_internal(
name = "udp_listener_config",
srcs = ["udp_listener_config.proto"],
@ -31,11 +28,3 @@ api_proto_library_internal(
"//envoy/api/v3alpha/core:base",
],
)
api_go_proto_library(
name = "udp_listener_config",
proto = ":udp_listener_config",
deps = [
"//envoy/api/v3alpha/core:base_go_proto",
],
)

@ -5,7 +5,6 @@ package envoy.api.v3alpha.listener;
option java_outer_classname = "ListenerProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v3alpha.listener";
option go_package = "listener";
option csharp_namespace = "Envoy.Api.V2.ListenerNS";
option ruby_package = "Envoy::Api::V2::ListenerNS";

@ -5,7 +5,6 @@ package envoy.api.v3alpha.listener;
option java_outer_classname = "UdpListenerConfigProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v3alpha.listener";
option go_package = "listener";
option csharp_namespace = "Envoy.Api.V2.ListenerNS";
option ruby_package = "Envoy::Api::V2::ListenerNS";

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

@ -5,7 +5,6 @@ package envoy.api.v3alpha.ratelimit;
option java_outer_classname = "RatelimitProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v3alpha.ratelimit";
option go_package = "ratelimit";
import "validate/validate.proto";

@ -1,7 +1,15 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v3alpha/core",
"//envoy/type",
"//envoy/type/matcher",
],
)
api_proto_library_internal(
name = "route",
srcs = ["route.proto"],
@ -14,15 +22,3 @@ api_proto_library_internal(
"//envoy/type/matcher:string",
],
)
api_go_proto_library(
name = "route",
proto = ":route",
deps = [
"//envoy/api/v3alpha/core:base_go_proto",
"//envoy/type:percent_go_proto",
"//envoy/type:range_go_proto",
"//envoy/type/matcher:regex_go_proto",
"//envoy/type/matcher:string_go_proto",
],
)

@ -5,7 +5,6 @@ package envoy.api.v3alpha.route;
option java_outer_classname = "RouteProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.api.v3alpha.route";
option go_package = "route";
option java_generic_services = true;
import "envoy/api/v3alpha/core/base.proto";

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/api/v2/core"],
)
api_proto_library_internal(
name = "als",
srcs = ["als.proto"],
@ -14,9 +18,3 @@ api_proto_library_internal(
name = "file",
srcs = ["file.proto"],
)
api_go_proto_library(
name = "als",
proto = ":als",
deps = ["//envoy/api/v2/core:grpc_service_go_proto"],
)

@ -5,7 +5,6 @@ package envoy.config.accesslog.v2;
option java_outer_classname = "AlsProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.accesslog.v2";
option go_package = "v2";
import "envoy/api/v2/core/grpc_service.proto";

@ -5,7 +5,6 @@ package envoy.config.accesslog.v2;
option java_outer_classname = "FileProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.accesslog.v2";
option go_package = "v2";
import "validate/validate.proto";
import "google/protobuf/struct.proto";

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/api/v3alpha/core"],
)
api_proto_library_internal(
name = "als",
srcs = ["als.proto"],
@ -14,9 +18,3 @@ api_proto_library_internal(
name = "file",
srcs = ["file.proto"],
)
api_go_proto_library(
name = "als",
proto = ":als",
deps = ["//envoy/api/v3alpha/core:grpc_service_go_proto"],
)

@ -5,7 +5,6 @@ package envoy.config.accesslog.v3alpha;
option java_outer_classname = "AlsProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.accesslog.v3alpha";
option go_package = "v2";
import "envoy/api/v3alpha/core/grpc_service.proto";

@ -5,7 +5,6 @@ package envoy.config.accesslog.v3alpha;
option java_outer_classname = "FileProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.accesslog.v3alpha";
option go_package = "v2";
import "validate/validate.proto";
import "google/protobuf/struct.proto";

@ -1,7 +1,19 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v2",
"//envoy/api/v2/auth",
"//envoy/api/v2/core",
"//envoy/config/metrics/v2:pkg",
"//envoy/config/overload/v2alpha:pkg",
"//envoy/config/ratelimit/v2:pkg",
"//envoy/config/trace/v2:pkg",
],
)
api_proto_library_internal(
name = "bootstrap",
srcs = ["bootstrap.proto"],
@ -20,21 +32,3 @@ api_proto_library_internal(
"//envoy/config/trace/v2:trace",
],
)
api_go_proto_library(
name = "bootstrap",
proto = ":bootstrap",
deps = [
"//envoy/api/v2:cds_go_grpc",
"//envoy/api/v2:lds_go_grpc",
"//envoy/api/v2/auth:cert_go_proto",
"//envoy/api/v2/core:address_go_proto",
"//envoy/api/v2/core:base_go_proto",
"//envoy/api/v2/core:config_source_go_proto",
"//envoy/config/metrics/v2:metrics_service_go_proto",
"//envoy/config/metrics/v2:stats_go_proto",
"//envoy/config/overload/v2alpha:overload_go_proto",
"//envoy/config/ratelimit/v2:rls_go_grpc",
"//envoy/config/trace/v2:trace_go_proto",
],
)

@ -10,7 +10,6 @@ package envoy.config.bootstrap.v2;
option java_outer_classname = "BootstrapProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.bootstrap.v2";
option go_package = "v2";
import "envoy/api/v2/core/address.proto";
import "envoy/api/v2/core/base.proto";

@ -1,7 +1,19 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v3alpha",
"//envoy/api/v3alpha/auth",
"//envoy/api/v3alpha/core",
"//envoy/config/metrics/v3alpha:pkg",
"//envoy/config/overload/v3alpha:pkg",
"//envoy/config/ratelimit/v3alpha:pkg",
"//envoy/config/trace/v3alpha:pkg",
],
)
api_proto_library_internal(
name = "bootstrap",
srcs = ["bootstrap.proto"],
@ -20,21 +32,3 @@ api_proto_library_internal(
"//envoy/config/trace/v3alpha:trace",
],
)
api_go_proto_library(
name = "bootstrap",
proto = ":bootstrap",
deps = [
"//envoy/api/v3alpha:cds_go_grpc",
"//envoy/api/v3alpha:lds_go_grpc",
"//envoy/api/v3alpha/auth:cert_go_proto",
"//envoy/api/v3alpha/core:address_go_proto",
"//envoy/api/v3alpha/core:base_go_proto",
"//envoy/api/v3alpha/core:config_source_go_proto",
"//envoy/config/metrics/v3alpha:metrics_service_go_proto",
"//envoy/config/metrics/v3alpha:stats_go_proto",
"//envoy/config/overload/v3alpha:overload_go_proto",
"//envoy/config/ratelimit/v3alpha:rls_go_grpc",
"//envoy/config/trace/v3alpha:trace_go_proto",
],
)

@ -10,7 +10,6 @@ package envoy.config.bootstrap.v3alpha;
option java_outer_classname = "BootstrapProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.bootstrap.v3alpha";
option go_package = "v2";
import "envoy/api/v3alpha/core/address.proto";
import "envoy/api/v3alpha/core/base.proto";

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/config/common/dynamic_forward_proxy/v2alpha:pkg"],
)
api_proto_library_internal(
name = "cluster",
srcs = ["cluster.proto"],

@ -5,7 +5,6 @@ package envoy.config.cluster.dynamic_forward_proxy.v2alpha;
option java_outer_classname = "DynamicForwardProxyClusterProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.cluster.dynamic_forward_proxy.v2alpha";
option go_package = "v2alpha";
import "envoy/config/common/dynamic_forward_proxy/v2alpha/dns_cache.proto";

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/config/common/dynamic_forward_proxy/v3alpha:pkg"],
)
api_proto_library_internal(
name = "cluster",
srcs = ["cluster.proto"],

@ -5,7 +5,6 @@ package envoy.config.cluster.dynamic_forward_proxy.v3alpha;
option java_outer_classname = "DynamicForwardProxyClusterProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.cluster.dynamic_forward_proxy.v3alpha";
option go_package = "v2alpha";
import "envoy/config/common/dynamic_forward_proxy/v3alpha/dns_cache.proto";

@ -1,7 +1,9 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package()
api_proto_library_internal(
name = "redis_cluster",
srcs = ["redis_cluster.proto"],

@ -5,7 +5,6 @@ package envoy.config.cluster.redis;
option java_outer_classname = "RedisClusterProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.cluster.redis";
option go_package = "v2";
import "google/protobuf/duration.proto";

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/api/v2"],
)
api_proto_library_internal(
name = "dns_cache",
srcs = ["dns_cache.proto"],

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/api/v3alpha"],
)
api_proto_library_internal(
name = "dns_cache",
srcs = ["dns_cache.proto"],

@ -1,7 +1,14 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v2/core",
"//envoy/service/tap/v2alpha:pkg",
],
)
api_proto_library_internal(
name = "common",
srcs = ["common.proto"],

@ -1,7 +1,14 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v3alpha/core",
"//envoy/service/tap/v3alpha:pkg",
],
)
api_proto_library_internal(
name = "common",
srcs = ["common.proto"],

@ -1,7 +1,15 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v2/core",
"//envoy/api/v2/route:pkg",
"//envoy/type",
],
)
api_proto_library_internal(
name = "accesslog",
srcs = ["accesslog.proto"],
@ -16,13 +24,3 @@ api_proto_library_internal(
"//envoy/type:percent",
],
)
api_go_proto_library(
name = "accesslog",
proto = ":accesslog",
deps = [
"//envoy/api/v2/core:base_go_proto",
"//envoy/api/v2/route:route_go_proto",
"//envoy/type:percent_go_proto",
],
)

@ -5,7 +5,6 @@ package envoy.config.filter.accesslog.v2;
option java_outer_classname = "AccesslogProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.accesslog.v2";
option go_package = "v2";
import "envoy/api/v2/core/base.proto";
import "envoy/api/v2/route/route.proto";

@ -1,7 +1,15 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_go_proto_library", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v3alpha/core",
"//envoy/api/v3alpha/route:pkg",
"//envoy/type",
],
)
api_proto_library_internal(
name = "accesslog",
srcs = ["accesslog.proto"],
@ -16,13 +24,3 @@ api_proto_library_internal(
"//envoy/type:percent",
],
)
api_go_proto_library(
name = "accesslog",
proto = ":accesslog",
deps = [
"//envoy/api/v3alpha/core:base_go_proto",
"//envoy/api/v3alpha/route:route_go_proto",
"//envoy/type:percent_go_proto",
],
)

@ -5,7 +5,6 @@ package envoy.config.filter.accesslog.v3alpha;
option java_outer_classname = "AccesslogProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.accesslog.v3alpha";
option go_package = "v2";
import "envoy/api/v3alpha/core/base.proto";
import "envoy/api/v3alpha/route/route.proto";

@ -1,7 +1,9 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package()
api_proto_library_internal(
name = "router",
srcs = ["router.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.dubbo.router.v2alpha1;
option java_outer_classname = "RouterProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.dubbo.router.v2alpha1";
option go_package = "v2alpha1";
// [#protodoc-title: Router]
// Dubbo router :ref:`configuration overview <config_dubbo_filters_router>`.

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/type"],
)
api_proto_library_internal(
name = "fault",
srcs = ["fault.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.fault.v2;
option java_outer_classname = "FaultProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.fault.v2";
option go_package = "v2";
import "envoy/type/percent.proto";

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/type"],
)
api_proto_library_internal(
name = "fault",
srcs = ["fault.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.fault.v3alpha;
option java_outer_classname = "FaultProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.fault.v3alpha";
option go_package = "v2";
import "envoy/type/percent.proto";

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/api/v2/core"],
)
api_proto_library_internal(
name = "adaptive_concurrency",
srcs = ["adaptive_concurrency.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.adaptive_concurrency.v2alpha;
option java_package = "io.envoyproxy.envoy.config.filter.http.adaptive_concurrency.v2alpha";
option java_outer_classname = "AdaptiveConcurrencyProto";
option java_multiple_files = true;
option go_package = "v2alpha";
message AdaptiveConcurrency {
}

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/api/v3alpha/core"],
)
api_proto_library_internal(
name = "adaptive_concurrency",
srcs = ["adaptive_concurrency.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.adaptive_concurrency.v3alpha;
option java_package = "io.envoyproxy.envoy.config.filter.http.adaptive_concurrency.v3alpha";
option java_outer_classname = "AdaptiveConcurrencyProto";
option java_multiple_files = true;
option go_package = "v2alpha";
message AdaptiveConcurrency {
}

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

@ -5,7 +5,6 @@ package envoy.config.filter.http.buffer.v2;
option java_outer_classname = "BufferProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.buffer.v2";
option go_package = "v2";
import "google/protobuf/wrappers.proto";

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

@ -5,7 +5,6 @@ package envoy.config.filter.http.buffer.v3alpha;
option java_outer_classname = "BufferProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.buffer.v3alpha";
option go_package = "v2";
import "google/protobuf/wrappers.proto";

@ -1,7 +1,14 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v2/core",
"//envoy/type/matcher",
],
)
api_proto_library_internal(
name = "csrf",
srcs = ["csrf.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.csrf.v2;
option java_outer_classname = "CsrfPolicyProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.csrf.v2";
option go_package = "v2";
import "envoy/api/v2/core/base.proto";
import "envoy/type/matcher/string.proto";

@ -1,7 +1,14 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v3alpha/core",
"//envoy/type/matcher",
],
)
api_proto_library_internal(
name = "csrf",
srcs = ["csrf.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.csrf.v3alpha;
option java_outer_classname = "CsrfPolicyProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.csrf.v3alpha";
option go_package = "v2";
import "envoy/api/v3alpha/core/base.proto";
import "envoy/type/matcher/string.proto";

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/config/common/dynamic_forward_proxy/v2alpha:pkg"],
)
api_proto_library_internal(
name = "dynamic_forward_proxy",
srcs = ["dynamic_forward_proxy.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.dynamic_forward_proxy.v2alpha;
option java_outer_classname = "DynamicForwardProxyProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.dynamic_forward_proxy.v2alpha";
option go_package = "v2alpha";
import "envoy/config/common/dynamic_forward_proxy/v2alpha/dns_cache.proto";

@ -1,7 +1,11 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["//envoy/config/common/dynamic_forward_proxy/v3alpha:pkg"],
)
api_proto_library_internal(
name = "dynamic_forward_proxy",
srcs = ["dynamic_forward_proxy.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.dynamic_forward_proxy.v3alpha;
option java_outer_classname = "DynamicForwardProxyProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.dynamic_forward_proxy.v3alpha";
option go_package = "v2alpha";
import "envoy/config/common/dynamic_forward_proxy/v3alpha/dns_cache.proto";

@ -1,7 +1,15 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v2/core",
"//envoy/type",
"//envoy/type/matcher",
],
)
api_proto_library_internal(
name = "ext_authz",
srcs = ["ext_authz.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.ext_authz.v2;
option java_outer_classname = "ExtAuthzProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.ext_authz.v2";
option go_package = "v2";
import "envoy/api/v2/core/base.proto";
import "envoy/api/v2/core/grpc_service.proto";

@ -1,7 +1,15 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v3alpha/core",
"//envoy/type",
"//envoy/type/matcher",
],
)
api_proto_library_internal(
name = "ext_authz",
srcs = ["ext_authz.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.ext_authz.v3alpha;
option java_outer_classname = "ExtAuthzProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.ext_authz.v3alpha";
option go_package = "v2";
import "envoy/api/v3alpha/core/base.proto";
import "envoy/api/v3alpha/core/grpc_service.proto";

@ -1,7 +1,15 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v2/route:pkg",
"//envoy/config/filter/fault/v2:pkg",
"//envoy/type",
],
)
api_proto_library_internal(
name = "fault",
srcs = ["fault.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.fault.v2;
option java_outer_classname = "FaultProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.fault.v2";
option go_package = "v2";
import "envoy/api/v2/route/route.proto";
import "envoy/config/filter/fault/v2/fault.proto";

@ -1,7 +1,15 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library_internal", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = [
"//envoy/api/v3alpha/route:pkg",
"//envoy/config/filter/fault/v3alpha:pkg",
"//envoy/type",
],
)
api_proto_library_internal(
name = "fault",
srcs = ["fault.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.fault.v3alpha;
option java_outer_classname = "FaultProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.fault.v3alpha";
option go_package = "v2";
import "envoy/api/v3alpha/route/route.proto";
import "envoy/config/filter/fault/v3alpha/fault.proto";

@ -1,7 +1,9 @@
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library")
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_library", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package()
api_proto_library(
name = "config",
srcs = ["config.proto"],

@ -5,7 +5,6 @@ package envoy.config.filter.http.grpc_http1_reverse_bridge.v2alpha1;
option java_outer_classname = "ConfigProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.grpc_http1_reverse_bridge.v2alpha1";
option go_package = "v2";
import "validate/validate.proto";

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

@ -5,7 +5,6 @@ package envoy.config.filter.http.gzip.v2;
option java_outer_classname = "GzipProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.gzip.v2";
option go_package = "v2";
import "google/protobuf/wrappers.proto";

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

@ -5,7 +5,6 @@ package envoy.config.filter.http.gzip.v3alpha;
option java_outer_classname = "GzipProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.config.filter.http.gzip.v3alpha";
option go_package = "v2";
import "google/protobuf/wrappers.proto";

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

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save