Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppOwner = "appowner" Normal = "normal" Admin = "admin" Warning = "warning" Unknown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
func ClassifyEvent ¶
ClassifyEvent 根据event/alltypes中的定义对事件进行分级和更友好的描述,对于未定义的reason则用reason作为描述,级别为Warning的未知事件将发给管理员。
Types ¶
type Alert ¶
func (*Alert) ObjectCreated ¶
func (*Alert) ObjectDeleted ¶
func (*Alert) ObjectUpdated ¶
Click to show internal directories.
Click to hide internal directories.