[READ ONLY MIRROR] Envoy REST/proto API definitions and documentation. (grpc依赖)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

57 lines
1.7 KiB

syntax = "proto3";
package envoy.service.discovery.v3alpha;
option java_outer_classname = "RtdsProto";
option java_multiple_files = true;
option java_package = "io.envoyproxy.envoy.service.discovery.v3alpha";
option java_generic_services = true;
import "envoy/api/v3alpha/discovery.proto";
import "google/api/annotations.proto";
import "google/protobuf/struct.proto";
import "udpa/api/annotations/versioning.proto";
import "validate/validate.proto";
// [#protodoc-title: Runtime Discovery Service (RTDS)]
// RTDS :ref:`configuration overview <config_runtime_rtds>`
// Discovery service for Runtime resources.
service RuntimeDiscoveryService {
rpc StreamRuntime(stream api.v3alpha.DiscoveryRequest)
returns (stream api.v3alpha.DiscoveryResponse) {
}
rpc DeltaRuntime(stream api.v3alpha.DeltaDiscoveryRequest)
returns (stream api.v3alpha.DeltaDiscoveryResponse) {
}
rpc FetchRuntime(api.v3alpha.DiscoveryRequest) returns (api.v3alpha.DiscoveryResponse) {
option (google.api.http) = {
post: "/v3alpha/discovery:runtime"
body: "*"
};
}
}
// [#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing
// services: https://github.com/google/protobuf/issues/4221
message RtdsDummy {
option (udpa.api.annotations.versioning).previous_message_type =
"envoy.service.discovery.v2.RtdsDummy";
}
// RTDS resource type. This describes a layer in the runtime virtual filesystem.
message Runtime {
option (udpa.api.annotations.versioning).previous_message_type =
"envoy.service.discovery.v2.Runtime";
// Runtime resource name. This makes the Runtime a self-describing xDS
// resource.
string name = 1 [(validate.rules).string = {min_bytes: 1}];
google.protobuf.Struct layer = 2;
}