Documentation
¶
Index ¶
- type Logic
- type Logics
- func (lgc *Logics) CheckTableExist(ctx context.Context)
- func (lgc *Logics) CreateInnerChart(kit *rest.Kit, chartInfo *metadata.ChartConfig) (uint64, error)
- func (lgc *Logics) GetBizHostCount(kit *rest.Kit) ([]metadata.StringIDCount, error)
- func (lgc *Logics) GetModelAndInstCount(kit *rest.Kit) ([]metadata.StringIDCount, error)
- func (lgc *Logics) InnerChartData(kit *rest.Kit, chartInfo metadata.ChartConfig) (interface{}, error)
- func (lgc *Logics) NewFromHeader(header http.Header) *Logics
- func (lgc *Logics) TimerFreshData(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logics ¶
type Logics struct { *backbone.Engine ErrHandle errors.DefaultCCErrorIf AuthManager *extensions.AuthManager // contains filtered or unexported fields }
func NewLogics ¶
func NewLogics(b *backbone.Engine, header http.Header, authManager *extensions.AuthManager, spec string) *Logics
NewLogics get logics handle
func (*Logics) CheckTableExist ¶
CheckTableExist 检测cc_chartData集合是否存在
func (*Logics) CreateInnerChart ¶
func (*Logics) GetBizHostCount ¶
func (*Logics) GetModelAndInstCount ¶
func (*Logics) InnerChartData ¶
func (*Logics) NewFromHeader ¶
NewFromHeader new Logic from header
func (*Logics) TimerFreshData ¶
Click to show internal directories.
Click to hide internal directories.