-
Notifications
You must be signed in to change notification settings - Fork 458
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RLSDiscoveryService to a separate file
Signed-off-by: alekhya.kondapuram <alekhya.kondapuram@salesforce.com>
- Loading branch information
1 parent
38197db
commit e6d347f
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,4 +91,4 @@ enum RateLimitUnit { | |
|
||
// The time unit representing a day. | ||
DAY = 4; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
syntax = "proto3"; | ||
|
||
package ratelimit.service.ratelimit.v3; | ||
|
||
import "envoy/service/discovery/v3/discovery.proto"; | ||
|
||
option java_package = "io.envoyproxy.ratelimit.service.config.v3"; | ||
option java_outer_classname = "RlsConfigProto"; | ||
option java_multiple_files = true; | ||
option go_package = "github.com/envoyproxy/go-control-plane/ratelimit/service/config/v3;configv3"; | ||
option java_generic_services = true; | ||
|
||
// [#protodoc-title: Rate Limit Config Discovery Service (RLS Conf DS)] | ||
|
||
// Return list of all rate limit configs that rate limit service should be configured with. | ||
service RateLimitConfigDiscoveryService { | ||
|
||
rpc StreamRlsConfigs(stream envoy.service.discovery.v3.DiscoveryRequest) | ||
returns (stream envoy.service.discovery.v3.DiscoveryResponse) { | ||
} | ||
|
||
rpc FetchRlsConfigs(envoy.service.discovery.v3.DiscoveryRequest) | ||
returns (envoy.service.discovery.v3.DiscoveryResponse) { | ||
} | ||
} |