[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.
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
import "google/protobuf/wrappers.proto";
|
|
|
|
|
|
|
|
// [V2-API-DIFF] Addresses now have .proto structure.
|
|
|
|
message Address {
|
|
|
|
message SocketAddress {
|
|
|
|
enum Protocol {
|
|
|
|
TCP = 0;
|
|
|
|
}
|
|
|
|
Protocol protocol = 1;
|
|
|
|
// For listeners, bind to 0.0.0.0 or :: to support the use of prefix/suffix
|
|
|
|
// matching in FilterChainMatch. For clusters, an address may be either an
|
|
|
|
// IP or hostname to be resolved via DNS.
|
|
|
|
google.protobuf.StringValue address = 2;
|
|
|
|
google.protobuf.UInt32Value port = 3;
|
|
|
|
}
|
|
|
|
message Pipe {
|
|
|
|
google.protobuf.StringValue path = 1;
|
|
|
|
}
|
|
|
|
oneof address {
|
|
|
|
SocketAddress socket_address = 1;
|
|
|
|
Pipe pipe = 2;
|
|
|
|
}
|
|
|
|
}
|