Documentation ¶
Index ¶
- Variables
- type Subscription
- func (*Subscription) Descriptor() ([]byte, []int)deprecated
- func (x *Subscription) GetBugCcEmails() []string
- func (x *Subscription) GetBugComponent() string
- func (x *Subscription) GetBugLabels() []string
- func (x *Subscription) GetBugPriority() int32
- func (x *Subscription) GetBugSeverity() int32
- func (x *Subscription) GetContactEmail() string
- func (x *Subscription) GetHotlists() []string
- func (x *Subscription) GetName() string
- func (x *Subscription) GetRevision() string
- func (*Subscription) ProtoMessage()
- func (x *Subscription) ProtoReflect() protoreflect.Message
- func (x *Subscription) Reset()
- func (x *Subscription) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_subscription_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Subscription ¶
type Subscription struct { // Unique name identifying subscription. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // infra_internal Git hash on which a subscription is based on. Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // Labels to attach to bugs associated with a subscription. BugLabels []string `protobuf:"bytes,3,rep,name=bug_labels,json=bugLabels,proto3" json:"bug_labels,omitempty"` // Hotlists to add to bugs associated with a subscription. Hotlists []string `protobuf:"bytes,4,rep,name=hotlists,proto3" json:"hotlists,omitempty"` // Component in which to file bugs associated with a subscription. BugComponent string `protobuf:"bytes,5,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"` // Priority of bugs associated with a subscription. Must be between 0-4. BugPriority int32 `protobuf:"varint,8,opt,name=bug_priority,json=bugPriority,proto3" json:"bug_priority,omitempty"` // Severity of bugs associated with a subscription. Must be between 0-4. BugSeverity int32 `protobuf:"varint,9,opt,name=bug_severity,json=bugSeverity,proto3" json:"bug_severity,omitempty"` // Emails to CC in bugs associated with a subscription. BugCcEmails []string `protobuf:"bytes,6,rep,name=bug_cc_emails,json=bugCcEmails,proto3" json:"bug_cc_emails,omitempty"` // Owner of subscription. Used for contact purposes. ContactEmail string `protobuf:"bytes,7,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"` // contains filtered or unexported fields }
A subscription defines alerting configurations for anomalies detected.
func (*Subscription) Descriptor
deprecated
func (*Subscription) Descriptor() ([]byte, []int)
Deprecated: Use Subscription.ProtoReflect.Descriptor instead.
func (*Subscription) GetBugCcEmails ¶
func (x *Subscription) GetBugCcEmails() []string
func (*Subscription) GetBugComponent ¶
func (x *Subscription) GetBugComponent() string
func (*Subscription) GetBugLabels ¶
func (x *Subscription) GetBugLabels() []string
func (*Subscription) GetBugPriority ¶
func (x *Subscription) GetBugPriority() int32
func (*Subscription) GetBugSeverity ¶
func (x *Subscription) GetBugSeverity() int32
func (*Subscription) GetContactEmail ¶
func (x *Subscription) GetContactEmail() string
func (*Subscription) GetHotlists ¶
func (x *Subscription) GetHotlists() []string
func (*Subscription) GetName ¶
func (x *Subscription) GetName() string
func (*Subscription) GetRevision ¶
func (x *Subscription) GetRevision() string
func (*Subscription) ProtoMessage ¶
func (*Subscription) ProtoMessage()
func (*Subscription) ProtoReflect ¶
func (x *Subscription) ProtoReflect() protoreflect.Message
func (*Subscription) Reset ¶
func (x *Subscription) Reset()
func (*Subscription) String ¶
func (x *Subscription) String() string
Click to show internal directories.
Click to hide internal directories.