Documentation ¶
Index ¶
- func DeleteCustomDashboard(c *gin.Context)
- func DisplayWatermark(c *gin.Context)
- func GetChartsByEndpoint(c *gin.Context)
- func GetCustomDashboard(c *gin.Context)
- func GetCustomDashboardRole(c *gin.Context)
- func GetDashboardPanelList(c *gin.Context)
- func GetEndpointList(c *gin.Context)
- func GetEndpointMetric(c *gin.Context)
- func GetEndpointTypeList(c *gin.Context)
- func GetEndpointTypeNewList(c *gin.Context)
- func GetEndpointsByIp(c *gin.Context)
- func GetMainPage(c *gin.Context)
- func GetPanels(c *gin.Context)
- func GetPieChart(c *gin.Context)
- func GetPromMetric(c *gin.Context)
- func GetTags(c *gin.Context)
- func ListCustomDashboard(c *gin.Context)
- func ListMainPageRole(c *gin.Context)
- func MainDashboard(c *gin.Context)
- func MainSearch(c *gin.Context)
- func SaveCustomDashboard(c *gin.Context)
- func SaveCustomDashboardRole(c *gin.Context)
- func UpdateChartsTitle(c *gin.Context)
- func UpdateMainPage(c *gin.Context)
- func UpdatePanelChartMetric(c *gin.Context)
- func UpdatePromMetric(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCustomDashboard ¶
func DisplayWatermark ¶
func GetChartsByEndpoint ¶
func GetCustomDashboard ¶
func GetCustomDashboardRole ¶
func GetDashboardPanelList ¶
func GetEndpointList ¶
func GetEndpointMetric ¶
func GetEndpointTypeList ¶
func GetEndpointTypeNewList ¶
func GetEndpointsByIp ¶
func GetMainPage ¶
func GetPanels ¶
@Summary 页面通用接口 : 获取panels @Description 获取panels @Produce json @Param group query int true "panels url 上自带该id" @Param endpoint query string true "需要在panels url上把{endpoint}替换" @Success 200 @Router /api/v1/dashboard/panels [get]
func GetPieChart ¶
func GetPromMetric ¶
func GetTags ¶
@Summary 页面通用接口 : 根据tag获取charts组 @Description 根据tag获取charts组 @Produce json @Param panel_id query int true "url上自带该id" @Param endpoint query string true "url上自带该endpoint" @Param tag query string true "tag button里面的option_value" @Success 200 @Router /api/v1/dashboard/tags [get]
func ListCustomDashboard ¶
func ListMainPageRole ¶
func MainDashboard ¶
@Summary 页面通用接口 : 视图 @Description 获取主视图,有主机、网络等 @Produce json @Param type query string true "页面类型,主机页面type=host" @Success 200 @Router /api/v1/dashboard/main [get]
func MainSearch ¶
@Summary 主页面接口 : 模糊搜索 @Description 模糊搜索 @Produce json @Param search query string true "放弃search_col,直接把用户输入拼到url后面请求" @Param limit query string false "数量限制" @Success 200 @Router /api/v1/dashboard/search [get]
func SaveCustomDashboard ¶
func SaveCustomDashboardRole ¶
func UpdateChartsTitle ¶
func UpdateMainPage ¶
func UpdatePanelChartMetric ¶
func UpdatePromMetric ¶
Types ¶
This section is empty.