Documentation ¶
Index ¶
Constants ¶
View Source
const (
CC_time_type_parse_flag = "cc_time_type"
)
Variables ¶
View Source
var ObjTableMap = map[string]string{ common.BKInnerObjIDApp: "cc_ApplicationBase", common.BKInnerObjIDSet: "cc_SetBase", common.BKInnerObjIDModule: "cc_ModuleBase", common.BKINnerObjIDObject: "cc_ObjectBase", common.BKInnerObjIDHost: "cc_HostBase", common.BKInnerObjIDProc: "cc_Process", common.BKInnerObjIDPlat: "cc_PlatBase", common.BKTableNameInstAsst: common.BKTableNameInstAsst}
View Source
var ObjTypeTableMap = map[string]string{common.BKInnerObjIDApp: "cc_ApplicationBase", common.BKInnerObjIDSet: "cc_SetBase", common.BKInnerObjIDModule: "cc_ModuleBase", common.BKINnerObjIDObject: "cc_ObjectBase", common.BKInnerObjIDHost: "cc_HostBase", common.BKInnerObjIDProc: "cc_Process", common.BKInnerObjIDPlat: "cc_PlatBase", common.BKTableNameInstAsst: common.BKTableNameInstAsst}
Functions ¶
This section is empty.
Types ¶
type ObjQueryInput ¶
type ObjQueryInput struct { Condition interface{} `json:"condition"` Fields string `json:"fields"` Start int `json:"start"` Limit int `json:"limit"` Sort string `json:"sort"` }
func (*ObjQueryInput) ConvTime ¶
func (o *ObjQueryInput) ConvTime() error
ConvTime 将查询条件中字段包含cc_type key ,子节点变为time.Time
Click to show internal directories.
Click to hide internal directories.