added trend with get,set and remove methods in datamanager

This commit is contained in:
gezimblliku
2024-08-13 16:43:26 +02:00
committed by Dan Christian Bogos
parent 0748f09758
commit 5b75bacff7
25 changed files with 395 additions and 50 deletions

View File

@@ -104,9 +104,12 @@ type DataDB interface {
SetRankingProfileDrv(sq *RankingProfile) (err error)
GetRankingProfileDrv(tenant string, id string) (sq *RankingProfile, err error)
RemRankingProfileDrv(tenant string, id string) (err error)
SetTrendProfileDrv(sq *TrendProfile) (err error)
SetTrendProfileDrv(tr *TrendProfile) (err error)
GetTrendProfileDrv(tenant string, id string) (sq *TrendProfile, err error)
RemTrendProfileDrv(tenant string, id string) (err error)
GetTrendDrv(string, string) (*Trend, error)
SetTrendDrv(*Trend) error
RemoveTrendDrv(string, string) error
GetThresholdProfileDrv(tenant string, ID string) (tp *ThresholdProfile, err error)
SetThresholdProfileDrv(tp *ThresholdProfile) (err error)
RemThresholdProfileDrv(tenant, id string) (err error)