Skip to content

Commit a6f587e

Browse files
committed
Use ttrpc to publish runtime v2 events
Signed-off-by: Michael Crosby <[email protected]>
1 parent a8a805c commit a6f587e

10 files changed

Lines changed: 90 additions & 991 deletions

File tree

api/next.pb.txt

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -4228,85 +4228,13 @@ file {
42284228
json_name: "event"
42294229
}
42304230
}
4231-
message_type {
4232-
name: "ForwardRequest"
4233-
field {
4234-
name: "envelope"
4235-
number: 1
4236-
label: LABEL_OPTIONAL
4237-
type: TYPE_MESSAGE
4238-
type_name: ".containerd.services.events.ttrpc.v1.Envelope"
4239-
json_name: "envelope"
4240-
}
4241-
}
4242-
message_type {
4243-
name: "SubscribeRequest"
4244-
field {
4245-
name: "filters"
4246-
number: 1
4247-
label: LABEL_REPEATED
4248-
type: TYPE_STRING
4249-
json_name: "filters"
4250-
}
4251-
}
4252-
message_type {
4253-
name: "Envelope"
4254-
field {
4255-
name: "timestamp"
4256-
number: 1
4257-
label: LABEL_OPTIONAL
4258-
type: TYPE_MESSAGE
4259-
type_name: ".google.protobuf.Timestamp"
4260-
options {
4261-
65001: 0
4262-
65010: 1
4263-
}
4264-
json_name: "timestamp"
4265-
}
4266-
field {
4267-
name: "namespace"
4268-
number: 2
4269-
label: LABEL_OPTIONAL
4270-
type: TYPE_STRING
4271-
json_name: "namespace"
4272-
}
4273-
field {
4274-
name: "topic"
4275-
number: 3
4276-
label: LABEL_OPTIONAL
4277-
type: TYPE_STRING
4278-
json_name: "topic"
4279-
}
4280-
field {
4281-
name: "event"
4282-
number: 4
4283-
label: LABEL_OPTIONAL
4284-
type: TYPE_MESSAGE
4285-
type_name: ".google.protobuf.Any"
4286-
json_name: "event"
4287-
}
4288-
options {
4289-
64400: 1
4290-
}
4291-
}
42924231
service {
42934232
name: "Events"
42944233
method {
42954234
name: "Publish"
42964235
input_type: ".containerd.services.events.ttrpc.v1.PublishRequest"
42974236
output_type: ".google.protobuf.Empty"
42984237
}
4299-
method {
4300-
name: "Forward"
4301-
input_type: ".containerd.services.events.ttrpc.v1.ForwardRequest"
4302-
output_type: ".google.protobuf.Empty"
4303-
}
4304-
method {
4305-
name: "Subscribe"
4306-
input_type: ".containerd.services.events.ttrpc.v1.SubscribeRequest"
4307-
output_type: ".containerd.services.events.ttrpc.v1.Envelope"
4308-
server_streaming: true
4309-
}
43104238
}
43114239
options {
43124240
go_package: "github.com/containerd/containerd/api/services/ttrpc/events/v1;events"

0 commit comments

Comments
 (0)