-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tds: bootstrap and API configuration protos. (#7105)
This PR provides the TDS API config. The implementation and docs will be added in a followup, the idea is to unblock some projects that depend on the details here. Risk level: Low Testing: @envoy_api build Part of #6708 Signed-off-by: Harvey Tuch <htuch@google.com>
- Loading branch information
Showing
7 changed files
with
68 additions
and
0 deletions.
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
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
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,34 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.service.discovery.v2; | ||
|
||
option java_outer_classname = "TdsProto"; | ||
option java_multiple_files = true; | ||
option java_package = "io.envoyproxy.envoy.service.discovery.v2"; | ||
option java_generic_services = true; | ||
|
||
import "envoy/api/v2/discovery.proto"; | ||
|
||
import "google/api/annotations.proto"; | ||
import "google/protobuf/struct.proto"; | ||
|
||
// Discovery service for Runtime resources. | ||
// [#not-implemented-hide:] | ||
service RuntimeDiscoveryService { | ||
rpc StreamRuntime(stream envoy.api.v2.DiscoveryRequest) | ||
returns (stream envoy.api.v2.DiscoveryResponse) { | ||
} | ||
|
||
rpc FetchRuntime(envoy.api.v2.DiscoveryRequest) returns (envoy.api.v2.DiscoveryResponse) { | ||
option (google.api.http) = { | ||
post: "/v2/discovery:runtime" | ||
body: "*" | ||
}; | ||
} | ||
} | ||
|
||
// TDS resource type. This describes a layer in the runtime virtual filesystem. | ||
// [#not-implemented-hide:] | ||
message Runtime { | ||
google.protobuf.Struct layer = 1; | ||
} |
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
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
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
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