Versions in this module Expand all Collapse all v0 v0.2.1 Aug 15, 2017 v0.2.0 Jun 18, 2017 Changes in this version + type Action struct + AfterCallbackMail int + AfterCallbackSMS int + BeforeCallbackMail int + BeforeCallbackSMS int + Callback int + ID int64 + UIC string + URL string + func (this Action) TableName() string + type Cluster struct + Creator string + Denominator string + DsType string + Endpoint string + GrpId int64 + ID int64 + Metric string + Numerator string + Step int + Tags string + func (this Cluster) HostGroupName() (name string, err error) + func (this Cluster) TableName() string + type Expression struct + ActionId int64 + CreateUser string + Expression string + Func string + ID int64 + MaxStep int + Note string + Op string + Pause int + Priority int + RightValue string + type GrpHost struct + GrpID int64 + HostID int64 + func (this GrpHost) TableName() string + type GrpTpl struct + BindUser string + GrpID int64 + TplID int64 + func (this GrpTpl) TableName() string + type Host struct + AgentVersion string + Hostname string + ID int64 + Ip string + MaintainBegin uint16 + MaintainEnd uint16 + PluginVersion string + func (this Host) Existing() (int64, bool) + func (this Host) RelatedGrp() (Grps []HostGroup) + func (this Host) RelatedTpl() (tpls []Template) + func (this Host) TableName() string + type HostGroup struct + ComeFrom int + CreateUser string + ID int64 + Name string + func (this HostGroup) TableName() string + type Mockcfg struct + Creator string + DsType string + ID int64 + Metric string + Mock float64 + Name string + Obj string + ObjType string + Step int + Tags string + func (this Mockcfg) TableName() string + type Plugin struct + CreateUser string + Dir string + GrpId int64 + ID int64 + func (this Plugin) TableName() string + type Strategy struct + Func string + ID int64 + MaxStep int + Metric string + Note string + Op string + Priority int + RightValue string + RunBegin string + RunEnd string + Tags string + TplId int64 + func (this Strategy) TableName() string + type Template struct + ActionID int64 + CreateUser string + ID int64 + Name string + ParentID int64 + func (this Template) FindParentName() (name string, err error) + func (this Template) FindUserName() (name string, err error) + func (this Template) TableName() string