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.
28 lines
715 B
28 lines
715 B
syntax = "proto3"; |
|
|
|
// [V2-API-DIFF] Addresses now have .proto structure. |
|
message Address { |
|
message SocketAddress { |
|
enum Protocol { |
|
TCP = 0; |
|
} |
|
Protocol protocol = 1; |
|
// For listeners, an empty address implies a bind to 0.0.0.0 or ::. It's |
|
// still possible to distinguish on address via the prefix/suffix matching |
|
// in FilterChainMatch after connection. |
|
// For clusters, an address may be either an IP or hostname to be resolved via |
|
// DNS. |
|
string address = 2; |
|
oneof port_specifier { |
|
uint32 port = 3; |
|
string service = 4; |
|
} |
|
} |
|
message Pipe { |
|
string path = 1; |
|
} |
|
oneof address { |
|
SocketAddress socket_address = 1; |
|
Pipe pipe = 2; |
|
} |
|
}
|
|
|