API: Add extension information the Node message. (#9301)
Report extension information in the Node message. Risk Level: Low Testing: Unit Tests Docs Changes: N/A Release Notes: N/A Fixes: #8332 Signed-off-by: Yan Avlasov <yavlasov@google.com> Mirrored from https://github.com/envoyproxy/envoy @ f5efe4a9bedf0ef7b03324f9bfda50118a0555c4master-ci-test
parent
b68fac31ca
commit
0bbbff879a
4 changed files with 180 additions and 2 deletions
@ -0,0 +1,20 @@ |
||||
syntax = "proto3"; |
||||
|
||||
package envoy.type; |
||||
|
||||
option java_package = "io.envoyproxy.envoy.type"; |
||||
option java_outer_classname = "SemanticVersionProto"; |
||||
option java_multiple_files = true; |
||||
|
||||
// [#protodoc-title: Semantic Version] |
||||
|
||||
// Envoy uses SemVer (https://semver.org/). Major/minor versions indicate |
||||
// expected behaviors and APIs, the patch version field is used only |
||||
// for security fixes and can be generally ignored. |
||||
message SemanticVersion { |
||||
uint32 major = 1; |
||||
|
||||
uint32 minor = 2; |
||||
|
||||
uint32 patch = 3; |
||||
} |
@ -0,0 +1,24 @@ |
||||
syntax = "proto3"; |
||||
|
||||
package envoy.type.v3alpha; |
||||
|
||||
import "udpa/annotations/versioning.proto"; |
||||
|
||||
option java_package = "io.envoyproxy.envoy.type.v3alpha"; |
||||
option java_outer_classname = "SemanticVersionProto"; |
||||
option java_multiple_files = true; |
||||
|
||||
// [#protodoc-title: Semantic Version] |
||||
|
||||
// Envoy uses SemVer (https://semver.org/). Major/minor versions indicate |
||||
// expected behaviors and APIs, the patch version field is used only |
||||
// for security fixes and can be generally ignored. |
||||
message SemanticVersion { |
||||
option (udpa.annotations.versioning).previous_message_type = "envoy.type.SemanticVersion"; |
||||
|
||||
uint32 major = 1; |
||||
|
||||
uint32 minor = 2; |
||||
|
||||
uint32 patch = 3; |
||||
} |
Loading…
Reference in new issue