Documentation ¶
Index ¶
- func AppendDefaultTopo(topo map[string]interface{}, defaultTopo map[string]interface{}) map[string]interface{}
- func GetDefaultTopo(req *restful.Request, appID string, topoApi string) (map[string]interface{}, error)
- type Logics
- func (lgc *Logics) AutoInputV3Field(params mapstr.MapStr, objId, user string, header http.Header) (mapstr.MapStr, error)
- func (lgc *Logics) CheckAppTopoIsThreeLevel(user string, pheader http.Header) (bool, error)
- func (lgc *Logics) GetAllHostAndModuleRelation(ctx context.Context, ownerID string, pheader http.Header) ([]mapstr.MapStr, errors.CCError)
- func (lgc *Logics) GetAppListByOwnerIDAndUin(ctx context.Context, pheader http.Header, ownerID, uin string) (appInfoArr []mapstr.MapStr, errCode int, err errors.CCError)
- func (lgc *Logics) GetAppTopo(user string, pheader http.Header, appID int64, conds mapstr.MapStr) (map[string]interface{}, int)
- func (lgc *Logics) GetModuleHostCount(appID, mouduleID interface{}, user string, pheader http.Header) (int, error)
- func (lgc *Logics) GetObjFieldIDs(objID, user string, header http.Header) (common.KvMap, error)
- func (lgc *Logics) SetModuleHostCount(data []map[string]interface{}, user string, pheader http.Header) error
- type UserAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendDefaultTopo ¶
func AppendDefaultTopo(topo map[string]interface{}, defaultTopo map[string]interface{}) map[string]interface{}
AppendDefaultTopo combin idle pool set
Types ¶
type Logics ¶
func (*Logics) AutoInputV3Field ¶
func (lgc *Logics) AutoInputV3Field(params mapstr.MapStr, objId, user string, header http.Header) (mapstr.MapStr, error)
AutoInputV3Field fields required to automatically populate the current object v3
func (*Logics) CheckAppTopoIsThreeLevel ¶
func (*Logics) GetAllHostAndModuleRelation ¶
func (*Logics) GetAppListByOwnerIDAndUin ¶
func (*Logics) GetAppTopo ¶
func (*Logics) GetModuleHostCount ¶
func (lgc *Logics) GetModuleHostCount(appID, mouduleID interface{}, user string, pheader http.Header) (int, error)
GetModuleHostCount get module host count
func (*Logics) GetObjFieldIDs ¶
getObjFieldIDs get the values of properyID and properyName
Click to show internal directories.
Click to hide internal directories.