screen

package
v0.0.0-...-1489327 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDRCritical

func GetDRCritical(asset_type int) (num int)

func GetDRNormal

func GetDRNormal(asset_type int) (num int)

func GetDRWarning

func GetDRWarning(asset_type int) (num int)

func GetLastCheckTime

func GetLastCheckTime() (lastchecktime string)

Types

type DBScore

type DBScore struct {
	Asset_Id int    `orm:"column(asset_id);"`
	Alias    string `orm:"column(alias);"`
	Score    int    `orm:"column(score);"`
}

func GetDBScore

func GetDBScore() (num int64, err error, dbscore []DBScore)

type DbTime

type DbTime struct {
	Db_Id    string `orm:"column(db_id);"`
	End_Time string `orm:"column(end_time);"`
	Db_Time  int    `orm:"column(db_time);"`
}

func GetDBTime

func GetDBTime(db_id int) (dbtime []DbTime)

type MetricValue

type MetricValue struct {
	Db_Id int    `orm:"column(db_id);"`
	Time  string `orm:"column(time);"`
	Value int    `orm:"column(value);"`
}

func GetDBMetrixValueX

func GetDBMetrixValueX(metric_name string) (metricvalue []MetricValue)

func GetDBMetrixValueY

func GetDBMetrixValueY(metric_name string) (metricvalue []MetricValue)

func GetDrMetrixValueX

func GetDrMetrixValueX(metric_name string) (metricvalue []MetricValue)

func GetDrMetrixValueY

func GetDrMetrixValueY(metric_name string) (metricvalue []MetricValue)

type ScreenDr

type ScreenDr struct {
	Id   int    `orm:"column(bs_id);"`
	Name string `orm:"column(bs_name);"`
}

func ListDrConfig

func ListDrConfig() (sceen_dr []ScreenDr)

type Tbs_Rate

type Tbs_Rate struct {
	Tbs_Name string  `orm:"column(tbs_name);"`
	Rate     float32 `orm:"column(max_rate);"`
}

func GetTablespace

func GetTablespace() (tbs_rate []Tbs_Rate)

Jump to

Keyboard shortcuts

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