rls.proto 919 B

1234567891011121314151617181920212223242526
  1. syntax = "proto3";
  2. package envoy.config.ratelimit.v2;
  3. import "envoy/api/v2/core/grpc_service.proto";
  4. import "udpa/annotations/status.proto";
  5. import "validate/validate.proto";
  6. option java_package = "io.envoyproxy.envoy.config.ratelimit.v2";
  7. option java_outer_classname = "RlsProto";
  8. option java_multiple_files = true;
  9. option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/ratelimit/v2;ratelimitv2";
  10. option (udpa.annotations.file_status).package_version_status = FROZEN;
  11. // [#protodoc-title: Rate limit service]
  12. // Rate limit :ref:`configuration overview <config_rate_limit_service>`.
  13. message RateLimitServiceConfig {
  14. reserved 1, 3;
  15. // Specifies the gRPC service that hosts the rate limit service. The client
  16. // will connect to this cluster when it needs to make rate limit service
  17. // requests.
  18. api.v2.core.GrpcService grpc_service = 2 [(validate.rules).message = {required: true}];
  19. }