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> Mirrored from https://github.com/envoyproxy/envoy @ ad2cacc4215477526dc61f838db8a7ddf55f4cc6pull/620/head
parent
e8aa8e8cb7
commit
767a35ac29
5 changed files with 65 additions and 0 deletions
@ -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; |
||||
} |
Loading…
Reference in new issue