Skip to content

Commit aaf000c

Browse files
committed
api/introspection: deprecation warnings in server
The Server rpc in introspection service is extended to expose deprecation warnings based on observed feature use in containerd. Signed-off-by: Samuel Karp <[email protected]> (cherry picked from commit 57c897f) Signed-off-by: Samuel Karp <[email protected]>
1 parent 9b7ceee commit aaf000c

3 files changed

Lines changed: 225 additions & 79 deletions

File tree

api/next.pb.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4240,6 +4240,7 @@ file {
42404240
dependency: "github.com/containerd/containerd/api/types/platform.proto"
42414241
dependency: "google/rpc/status.proto"
42424242
dependency: "google/protobuf/empty.proto"
4243+
dependency: "google/protobuf/timestamp.proto"
42434244
message_type {
42444245
name: "Plugin"
42454246
field {
@@ -4359,6 +4360,39 @@ file {
43594360
type: TYPE_UINT64
43604361
json_name: "pidns"
43614362
}
4363+
field {
4364+
name: "deprecations"
4365+
number: 4
4366+
label: LABEL_REPEATED
4367+
type: TYPE_MESSAGE
4368+
type_name: ".containerd.services.introspection.v1.DeprecationWarning"
4369+
json_name: "deprecations"
4370+
}
4371+
}
4372+
message_type {
4373+
name: "DeprecationWarning"
4374+
field {
4375+
name: "id"
4376+
number: 1
4377+
label: LABEL_OPTIONAL
4378+
type: TYPE_STRING
4379+
json_name: "id"
4380+
}
4381+
field {
4382+
name: "message"
4383+
number: 2
4384+
label: LABEL_OPTIONAL
4385+
type: TYPE_STRING
4386+
json_name: "message"
4387+
}
4388+
field {
4389+
name: "last_occurrence"
4390+
number: 3
4391+
label: LABEL_OPTIONAL
4392+
type: TYPE_MESSAGE
4393+
type_name: ".google.protobuf.Timestamp"
4394+
json_name: "lastOccurrence"
4395+
}
43624396
}
43634397
service {
43644398
name: "Introspection"

0 commit comments

Comments
 (0)