Documentation ¶
Overview ¶
Package events defines the ttrpc event service.
Code generated by protoc-gen-go-fieldpath. DO NOT EDIT. source: github.com/containerd/containerd/api/services/ttrpc/events/v1/events.proto
Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: github.com/containerd/containerd/api/services/ttrpc/events/v1/events.proto
Index ¶
- Variables
- func RegisterEventsService(srv *ttrpc.Server, svc EventsService)
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)deprecated
- func (m *Envelope) Field(fieldpath []string) (string, bool)
- func (x *Envelope) GetEvent() *anypb.Any
- func (x *Envelope) GetNamespace() string
- func (x *Envelope) GetTimestamp() *timestamppb.Timestamp
- func (x *Envelope) GetTopic() string
- func (*Envelope) ProtoMessage()
- func (x *Envelope) ProtoReflect() protoreflect.Message
- func (x *Envelope) Reset()
- func (x *Envelope) String() string
- type EventsService
- type ForwardRequest
- func (*ForwardRequest) Descriptor() ([]byte, []int)deprecated
- func (m *ForwardRequest) Field(fieldpath []string) (string, bool)
- func (x *ForwardRequest) GetEnvelope() *Envelope
- func (*ForwardRequest) ProtoMessage()
- func (x *ForwardRequest) ProtoReflect() protoreflect.Message
- func (x *ForwardRequest) Reset()
- func (x *ForwardRequest) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_containerd_containerd_api_services_ttrpc_events_v1_events_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEventsService ¶
func RegisterEventsService(srv *ttrpc.Server, svc EventsService)
Types ¶
type Envelope ¶
type Envelope struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` Event *anypb.Any `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*Envelope) Descriptor
deprecated
func (*Envelope) Field ¶
Field returns the value for the given fieldpath as a string, if defined. If the value is not defined, the second value will be false.
func (*Envelope) GetNamespace ¶ added in v1.7.0
func (*Envelope) GetTimestamp ¶ added in v1.7.0
func (x *Envelope) GetTimestamp() *timestamppb.Timestamp
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) ProtoReflect ¶ added in v1.7.0
func (x *Envelope) ProtoReflect() protoreflect.Message
type EventsService ¶
func NewEventsClient ¶
func NewEventsClient(client *ttrpc.Client) EventsService
type ForwardRequest ¶
type ForwardRequest struct { Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"` // contains filtered or unexported fields }
func (*ForwardRequest) Descriptor
deprecated
func (*ForwardRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForwardRequest.ProtoReflect.Descriptor instead.
func (*ForwardRequest) Field ¶ added in v1.7.0
func (m *ForwardRequest) Field(fieldpath []string) (string, bool)
Field returns the value for the given fieldpath as a string, if defined. If the value is not defined, the second value will be false.
func (*ForwardRequest) GetEnvelope ¶ added in v1.7.0
func (x *ForwardRequest) GetEnvelope() *Envelope
func (*ForwardRequest) ProtoMessage ¶
func (*ForwardRequest) ProtoMessage()
func (*ForwardRequest) ProtoReflect ¶ added in v1.7.0
func (x *ForwardRequest) ProtoReflect() protoreflect.Message
func (*ForwardRequest) Reset ¶
func (x *ForwardRequest) Reset()
func (*ForwardRequest) String ¶
func (x *ForwardRequest) String() string
Click to show internal directories.
Click to hide internal directories.