Documentation ¶
Index ¶
- Variables
- func QueryBuiltinMetrics(tids string) ([]*model.NewBuiltinMetric, error)
- func QueryConfig(key string) (*model.Config, error)
- func QueryExpressions() (ret []*model.NewExpression, err error)
- func QueryGroupTemplates() (map[int][]int, error)
- func QueryHostGroups() (map[int][]int, error)
- func QueryHostTemplateIds() (map[int][]int, error)
- func QueryHosts() (map[string]int, error)
- func QueryMonitoredHosts() (map[int]*model.Host, error)
- func QueryPlugins() (map[int][]string, error)
- func QueryStrategies(tpls map[int]*model.NewTemplate) (map[int]*model.NewStrategy, error)
- func QueryTemplates() (map[int]*model.NewTemplate, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *sql.DB
View Source
var DbFacade = &f.DbFacade{}
Functions ¶
func QueryBuiltinMetrics ¶
func QueryBuiltinMetrics(tids string) ([]*model.NewBuiltinMetric, error)
func QueryExpressions ¶
func QueryExpressions() (ret []*model.NewExpression, err error)
func QueryGroupTemplates ¶
func QueryHostGroups ¶
func QueryHosts ¶
func QueryPlugins ¶
func QueryStrategies ¶
func QueryStrategies(tpls map[int]*model.NewTemplate) (map[int]*model.NewStrategy, error)
获取所有的Strategy列表
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.