Skip to content

Commit 0b6766b

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 de3cb4c commit 0b6766b

3 files changed

Lines changed: 507 additions & 40 deletions

File tree

api/next.pb.txt

100644100755
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2401,6 +2401,7 @@ file {
24012401
dependency: "google/rpc/status.proto"
24022402
dependency: "google/protobuf/empty.proto"
24032403
dependency: "gogoproto/gogo.proto"
2404+
dependency: "google/protobuf/timestamp.proto"
24042405
message_type {
24052406
name: "Plugin"
24062407
field {
@@ -2515,6 +2516,53 @@ file {
25152516
}
25162517
json_name: "uuid"
25172518
}
2519+
field {
2520+
name: "pid"
2521+
number: 2
2522+
label: LABEL_OPTIONAL
2523+
type: TYPE_UINT64
2524+
json_name: "pid"
2525+
}
2526+
field {
2527+
name: "pidns"
2528+
number: 3
2529+
label: LABEL_OPTIONAL
2530+
type: TYPE_UINT64
2531+
json_name: "pidns"
2532+
}
2533+
field {
2534+
name: "deprecations"
2535+
number: 4
2536+
label: LABEL_REPEATED
2537+
type: TYPE_MESSAGE
2538+
type_name: ".containerd.services.introspection.v1.DeprecationWarning"
2539+
json_name: "deprecations"
2540+
}
2541+
}
2542+
message_type {
2543+
name: "DeprecationWarning"
2544+
field {
2545+
name: "id"
2546+
number: 1
2547+
label: LABEL_OPTIONAL
2548+
type: TYPE_STRING
2549+
json_name: "id"
2550+
}
2551+
field {
2552+
name: "message"
2553+
number: 2
2554+
label: LABEL_OPTIONAL
2555+
type: TYPE_STRING
2556+
json_name: "message"
2557+
}
2558+
field {
2559+
name: "last_occurrence"
2560+
number: 3
2561+
label: LABEL_OPTIONAL
2562+
type: TYPE_MESSAGE
2563+
type_name: ".google.protobuf.Timestamp"
2564+
json_name: "lastOccurrence"
2565+
}
25182566
}
25192567
service {
25202568
name: "Introspection"

0 commit comments

Comments
 (0)