notify

package
v4.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoNotify

func DoNotify(isUpgrade bool, events ...*models.Event)

func HostBindingsForMon

func HostBindingsForMon(endpointList []string) ([]string, error)

Types

type TicketInfo

type TicketInfo struct {
	Title         string `json:"title"`
	Typ           string `json:"typ"`
	MonitorTrace  string `json:"monitorTrace"`
	Level         int    `json:"level"`
	Content       string `json:"content"`
	MultiQueueIds []int  `json:"multiQueueIds"`
	AlertType     int    `json:"alertType"`
}

type TicketReq

type TicketReq struct {
	Info TicketInfo `json:"ticketInfo"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL