Documentation ¶
Index ¶
- Constants
- Variables
- func AddAlert(a structs.Alert) (string, *nerr.E)
- func AddRoomInformationToAlert(a structs.Alert) (structs.Alert, *nerr.E)
- func AddSystemTypeToIssue(issue structs.RoomIssue) (structs.RoomIssue, *nerr.E)
- func GenerateAlertID(a structs.Alert) string
- func GenerateIssueID(a structs.Alert) string
- func GetAllIssues() ([]structs.RoomIssue, *nerr.E)
- func GetIssueIDFromAlertID(alertID string) string
- func GetRoomIssue(IssueID string) (structs.RoomIssue, *nerr.E)
- func InitializeAlertStore(a *actions.ActionManager)
- func ParseRoomFromAlertID(alertID string) string
- func ParseSeverityFromID(alertID string) string
- func ResolveIssue(resInfo structs.ResolutionInfo, id string) *nerr.E
- func ResolvePartialIssue(resInfo structs.ResolutionInfo, id string, alertIDs []string) *nerr.E
- func UpdateRoomIssue(i structs.RoomIssue) *nerr.E
- type ChannelStatus
- type Status
Constants ¶
View Source
const ( Init = "init" Interface = "interface" Cache = "cache" )
Variables ¶
View Source
var ZeroTime = time.Time{}
Functions ¶
func AddRoomInformationToAlert ¶
AddRoomInformationToAlert will check A) System Type B) Designation C) Maintenence Mode D) Monitoring
func AddSystemTypeToIssue ¶
will check the system_type
func GenerateAlertID ¶
GenerateAlertID will give you the generated id back
func GenerateIssueID ¶
func GetIssueIDFromAlertID ¶
for now it's the same as the roomID
func GetRoomIssue ¶
GetRoomIssue Gets a specific roomIssue by IssueID
func InitializeAlertStore ¶
func InitializeAlertStore(a *actions.ActionManager)
func ParseSeverityFromID ¶
func ResolveIssue ¶
func ResolveIssue(resInfo structs.ResolutionInfo, id string) *nerr.E
ResolveIssue .
func ResolvePartialIssue ¶
ResolvePartialIssue .
Types ¶
type ChannelStatus ¶
type Status ¶
type Status struct {
QueueStatus map[string]ChannelStatus
}
func GetQueueStatus ¶
func GetQueueStatus() Status
Click to show internal directories.
Click to hide internal directories.