mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-27 19:55:48 +08:00
节点IP可以设置阈值
This commit is contained in:
@@ -306,3 +306,12 @@ func UnmarshalNodeValue(valueJSON []byte) string {
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
// NodeValueThresholdConfig 阈值
|
||||
type NodeValueThresholdConfig struct {
|
||||
Item NodeValueItem `json:"item"`
|
||||
Operator NodeValueOperator `json:"operator"`
|
||||
Value int64 `json:"value"`
|
||||
Duration int `json:"duration"`
|
||||
DurationUnit NodeValueDurationUnit `json:"durationUnit"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user