Documentation ¶
Index ¶
- func AddResource(c *gin.Context)
- func DeleteResource(c *gin.Context)
- func DeleteResources(c *gin.Context)
- func DisConnect(c *gin.Context)
- func GetAtlasMap(c *gin.Context)
- func GetDeviceInfo(c *gin.Context)
- func GetDeviceInfos(c *gin.Context)
- func GetOtypeDropdownList(c *gin.Context)
- func GetRelationGraph(c *gin.Context)
- func GetRelationMap(c *gin.Context)
- func GetRelationResources(c *gin.Context)
- func GetResourcesByCity(c *gin.Context)
- func GetStatisticDropdownList(c *gin.Context)
- func GetSunburstMap(c *gin.Context)
- func GetTagGroupInfos(c *gin.Context)
- func GetUtilizationInfo(c *gin.Context)
- func InsertTestData(c *gin.Context)
- func ReConnect(c *gin.Context)
- func RenewalResource(c *gin.Context)
- func SDel(c *gin.Context)
- func SGet(c *gin.Context)
- func SSet(c *gin.Context)
- func SearchResources(c *gin.Context)
- func SearchResourcesByType(c *gin.Context)
- type AddResourceForm
- type ConnectForm
- type DeleteResourcesForm
- type KVResource
- type TagGroupForm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddResource ¶
func DeleteResource ¶
func DeleteResources ¶
func DisConnect ¶
func GetAtlasMap ¶
func GetDeviceInfo ¶
func GetDeviceInfos ¶
func GetOtypeDropdownList ¶
func GetRelationGraph ¶
func GetRelationMap ¶
func GetRelationResources ¶
func GetResourcesByCity ¶
func GetSunburstMap ¶
func GetTagGroupInfos ¶
func GetUtilizationInfo ¶
func InsertTestData ¶
func SearchResources ¶
func SearchResourcesByType ¶
Types ¶
type AddResourceForm ¶
type AddResourceForm struct { Description string `form:"description" valid:"Required;MaxSize(100)"` Status int `form:"status" valid:"Range(0,1)"` Area string `form:"area" valid:"Required;MaxSize(100)"` DependNode string `form:"dependNode" valid:"Required;MaxSize(100)"` OType int `form:"dependNode" valid:"Range(0,1)"` IsMonitor int `form:"isMonitor"` IsControl int `form:"isControl"` //AutoRemove int `form:"autoRemove"` Utilization int `form:"utilization" valid:"Range(0,100)"` Tags []resource_service.Tag `form:"tags"` }
type ConnectForm ¶
type ConnectForm struct {
GuId string `form:"guId" valid:"Required;MaxSize(100)"`
}
type DeleteResourcesForm ¶
type DeleteResourcesForm struct {
GuIds []string `form:"guIds" valid:"Required;MaxSize(1000)"`
}
type KVResource ¶
type TagGroupForm ¶
type TagGroupForm struct { OType int `form:"oType" valid:"Range(1,9)"` Status int `form:"status" valid:"Range(1,2)"` Tag resource_service.Tag `form:"tag" valid:"Required;MaxSize(100)"` }
Click to show internal directories.
Click to hide internal directories.