Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApprovalDecisionApprove = "approve" ApprovalDecisionDismiss = "dismiss" )
View Source
const ( ValueTypeUser = "user" ValueTypeRole = "role" ValueTypePlayList = "playlist" ValueTypeEventFilter = "eventfilter" ValueTypeScenario = "scenario" ValueTypeMetaalarmRule = "metaalarmrule" ValueTypeDynamicInfo = "dynamicinfo" ValueTypeEntity = "entity" ValueTypeEntityService = "entityservice" ValueTypeEntityCategory = "entitycategory" ValueTypePbehaviorType = "pbehaviortype" ValueTypePbehaviorReason = "pbehaviorreason" ValueTypePbehaviorException = "pbehaviorexception" ValueTypePbehavior = "pbehavior" ValueTypeJobConfig = "jobconfig" ValueTypeJob = "job" ValueTypeInstruction = "instruction" ValueTypeStateSetting = "statesetting" ValueTypeBroadcastMessage = "broadcastmessage" ValueTypeIdleRule = "idlerule" ValueTypeView = "view" ValueTypeViewTab = "viewtab" ValueTypeWidget = "widget" ValueTypeWidgetFilter = "widgetfilter" ValueTypeWidgetTemplate = "widgettemplate" ValueTypeViewGroup = "viewgroup" ValueTypeResolveRule = "resolverule" ValueTypeFlappingRule = "flappingrule" ValueTypeKpiFilter = "kpi_filter" ValueTypePattern = "pattern" ValueTypeMap = "map" ValueTypeSnmpRule = "snmprule" ValueTypeDeclareTicketRule = "declareticketrule" ValueTypeLinkRule = "linkrule" ValueTypeAlarmTag = "alarmtag" ValueTypeColorTheme = "colortheme" ValueTypeIcon = "icon" ValueTypeEventRecord = "eventrecord" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionLog ¶
type ActionLogEvent ¶
type ActionLogEvent struct { DocumentID string `bson:"document_id"` Collection string `bson:"collection"` OperationType string `bson:"operation_type"` Document map[string]any `bson:"document"` DocumentBefore map[string]any `bson:"document_before"` UpdateDescription map[string]any `bson:"update_description"` ClusterTime time.Time `bson:"cluster_time"` }
type ActionLogger ¶
func NewActionLogger ¶
func NewActionLogger( dbClient mongo.DbClient, redisLockClient libredis.LockClient, pgPoolProvider postgres.PoolProvider, zLog zerolog.Logger, retryCount int, retryTimeout time.Duration, ) ActionLogger
Click to show internal directories.
Click to hide internal directories.