Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
ID types.RefineGroupID `json:"id" firestore:"ID"`
PrimaryAlertID types.AlertID `json:"primary_alert_id" firestore:"PrimaryAlertID"`
AlertIDs []types.AlertID `json:"alert_ids" firestore:"AlertIDs"`
Reason string `json:"reason" firestore:"Reason"`
CreatedAt time.Time `json:"created_at" firestore:"CreatedAt"`
Status GroupStatus `json:"status" firestore:"Status"`
}
Group represents a consolidation candidate group of unbound alerts
type GroupStatus ¶
type GroupStatus string
GroupStatus represents the status of a refine group
const ( GroupStatusPending GroupStatus = "pending" GroupStatusAccepted GroupStatus = "accepted" GroupStatusExpired GroupStatus = "expired" )
func (GroupStatus) String ¶
func (s GroupStatus) String() string
Click to show internal directories.
Click to hide internal directories.