Documentation ¶
Overview ¶
Package notifications contains protos for RBE Reservations notifications.
Protos are copied from http://shortn/_brt6pXcfS0.
Changes:
1. Change `go_package` to match the new location. 2. Some comments stripped.
Index ¶
- Variables
- type SchedulerNotification
- func (*SchedulerNotification) Descriptor() ([]byte, []int)deprecated
- func (x *SchedulerNotification) GetActionId() string
- func (x *SchedulerNotification) GetReservationId() string
- func (x *SchedulerNotification) GetStatusCode() int32
- func (*SchedulerNotification) ProtoMessage()
- func (x *SchedulerNotification) ProtoReflect() protoreflect.Message
- func (x *SchedulerNotification) Reset()
- func (x *SchedulerNotification) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_chromium_org_luci_swarming_internal_notifications_notifications_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SchedulerNotification ¶
type SchedulerNotification struct { // Exactly one of these IDs will be populated, depending on whether the // notification is for a completed action or reservation. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` ReservationId string `protobuf:"bytes,2,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"` // Status code for the received event. StatusCode int32 `protobuf:"varint,3,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` // contains filtered or unexported fields }
Wire proto defining the payload of a Cloud PubSub notification, which is sent by RBE when the `scheduler_notification_config` is populated for an instance and the corresponding RBE event occurs.
func (*SchedulerNotification) Descriptor
deprecated
func (*SchedulerNotification) Descriptor() ([]byte, []int)
Deprecated: Use SchedulerNotification.ProtoReflect.Descriptor instead.
func (*SchedulerNotification) GetActionId ¶
func (x *SchedulerNotification) GetActionId() string
func (*SchedulerNotification) GetReservationId ¶
func (x *SchedulerNotification) GetReservationId() string
func (*SchedulerNotification) GetStatusCode ¶
func (x *SchedulerNotification) GetStatusCode() int32
func (*SchedulerNotification) ProtoMessage ¶
func (*SchedulerNotification) ProtoMessage()
func (*SchedulerNotification) ProtoReflect ¶
func (x *SchedulerNotification) ProtoReflect() protoreflect.Message
func (*SchedulerNotification) Reset ¶
func (x *SchedulerNotification) Reset()
func (*SchedulerNotification) String ¶
func (x *SchedulerNotification) String() string
Click to show internal directories.
Click to hide internal directories.