Skip to content

Commit 7516bb9

Browse files
authored
Merge pull request containerd#9442 from AkihiroSuda/runtime-info2
api/services/instrospection: add PluginInfo
2 parents 8d417cb + 22d586e commit 7516bb9

File tree

24 files changed

+1423
-204
lines changed

24 files changed

+1423
-204
lines changed

api/next.pb.txt

+157
Original file line numberDiff line numberDiff line change
@@ -4307,6 +4307,112 @@ file {
43074307
}
43084308
syntax: "proto3"
43094309
}
4310+
file {
4311+
name: "github.com/containerd/containerd/api/types/introspection.proto"
4312+
package: "containerd.types"
4313+
dependency: "google/protobuf/any.proto"
4314+
message_type {
4315+
name: "RuntimeRequest"
4316+
field {
4317+
name: "runtime_path"
4318+
number: 1
4319+
label: LABEL_OPTIONAL
4320+
type: TYPE_STRING
4321+
json_name: "runtimePath"
4322+
}
4323+
field {
4324+
name: "options"
4325+
number: 2
4326+
label: LABEL_OPTIONAL
4327+
type: TYPE_MESSAGE
4328+
type_name: ".google.protobuf.Any"
4329+
json_name: "options"
4330+
}
4331+
}
4332+
message_type {
4333+
name: "RuntimeVersion"
4334+
field {
4335+
name: "version"
4336+
number: 1
4337+
label: LABEL_OPTIONAL
4338+
type: TYPE_STRING
4339+
json_name: "version"
4340+
}
4341+
field {
4342+
name: "revision"
4343+
number: 2
4344+
label: LABEL_OPTIONAL
4345+
type: TYPE_STRING
4346+
json_name: "revision"
4347+
}
4348+
}
4349+
message_type {
4350+
name: "RuntimeInfo"
4351+
field {
4352+
name: "name"
4353+
number: 1
4354+
label: LABEL_OPTIONAL
4355+
type: TYPE_STRING
4356+
json_name: "name"
4357+
}
4358+
field {
4359+
name: "version"
4360+
number: 2
4361+
label: LABEL_OPTIONAL
4362+
type: TYPE_MESSAGE
4363+
type_name: ".containerd.types.RuntimeVersion"
4364+
json_name: "version"
4365+
}
4366+
field {
4367+
name: "options"
4368+
number: 3
4369+
label: LABEL_OPTIONAL
4370+
type: TYPE_MESSAGE
4371+
type_name: ".google.protobuf.Any"
4372+
json_name: "options"
4373+
}
4374+
field {
4375+
name: "features"
4376+
number: 4
4377+
label: LABEL_OPTIONAL
4378+
type: TYPE_MESSAGE
4379+
type_name: ".google.protobuf.Any"
4380+
json_name: "features"
4381+
}
4382+
field {
4383+
name: "annotations"
4384+
number: 5
4385+
label: LABEL_REPEATED
4386+
type: TYPE_MESSAGE
4387+
type_name: ".containerd.types.RuntimeInfo.AnnotationsEntry"
4388+
json_name: "annotations"
4389+
}
4390+
nested_type {
4391+
name: "AnnotationsEntry"
4392+
field {
4393+
name: "key"
4394+
number: 1
4395+
label: LABEL_OPTIONAL
4396+
type: TYPE_STRING
4397+
json_name: "key"
4398+
}
4399+
field {
4400+
name: "value"
4401+
number: 2
4402+
label: LABEL_OPTIONAL
4403+
type: TYPE_STRING
4404+
json_name: "value"
4405+
}
4406+
options {
4407+
map_entry: true
4408+
}
4409+
}
4410+
}
4411+
options {
4412+
go_package: "github.com/containerd/containerd/v2/api/types;types"
4413+
}
4414+
syntax: "proto3"
4415+
}
43104416
file {
43114417
name: "google/rpc/status.proto"
43124418
package: "google.rpc"
@@ -4348,6 +4454,8 @@ file {
43484454
file {
43494455
name: "github.com/containerd/containerd/api/services/introspection/v1/introspection.proto"
43504456
package: "containerd.services.introspection.v1"
4457+
dependency: "google/protobuf/any.proto"
4458+
dependency: "github.com/containerd/containerd/api/types/introspection.proto"
43514459
dependency: "github.com/containerd/containerd/api/types/platform.proto"
43524460
dependency: "google/rpc/status.proto"
43534461
dependency: "google/protobuf/empty.proto"
@@ -4505,6 +4613,50 @@ file {
45054613
json_name: "lastOccurrence"
45064614
}
45074615
}
4616+
message_type {
4617+
name: "PluginInfoRequest"
4618+
field {
4619+
name: "type"
4620+
number: 1
4621+
label: LABEL_OPTIONAL
4622+
type: TYPE_STRING
4623+
json_name: "type"
4624+
}
4625+
field {
4626+
name: "id"
4627+
number: 2
4628+
label: LABEL_OPTIONAL
4629+
type: TYPE_STRING
4630+
json_name: "id"
4631+
}
4632+
field {
4633+
name: "options"
4634+
number: 3
4635+
label: LABEL_OPTIONAL
4636+
type: TYPE_MESSAGE
4637+
type_name: ".google.protobuf.Any"
4638+
json_name: "options"
4639+
}
4640+
}
4641+
message_type {
4642+
name: "PluginInfoResponse"
4643+
field {
4644+
name: "plugin"
4645+
number: 1
4646+
label: LABEL_OPTIONAL
4647+
type: TYPE_MESSAGE
4648+
type_name: ".containerd.services.introspection.v1.Plugin"
4649+
json_name: "plugin"
4650+
}
4651+
field {
4652+
name: "extra"
4653+
number: 2
4654+
label: LABEL_OPTIONAL
4655+
type: TYPE_MESSAGE
4656+
type_name: ".google.protobuf.Any"
4657+
json_name: "extra"
4658+
}
4659+
}
45084660
service {
45094661
name: "Introspection"
45104662
method {
@@ -4517,6 +4669,11 @@ file {
45174669
input_type: ".google.protobuf.Empty"
45184670
output_type: ".containerd.services.introspection.v1.ServerResponse"
45194671
}
4672+
method {
4673+
name: "PluginInfo"
4674+
input_type: ".containerd.services.introspection.v1.PluginInfoRequest"
4675+
output_type: ".containerd.services.introspection.v1.PluginInfoResponse"
4676+
}
45204677
}
45214678
options {
45224679
go_package: "github.com/containerd/containerd/v2/api/services/introspection/v1;introspection"

0 commit comments

Comments
 (0)