dashboard

package
v0.0.0-...-7fd4b8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCustomDashboard

func DeleteCustomDashboard(c *gin.Context)

func DisplayWatermark

func DisplayWatermark(c *gin.Context)

func GetChartsByEndpoint

func GetChartsByEndpoint(c *gin.Context)

func GetCustomDashboard

func GetCustomDashboard(c *gin.Context)

func GetCustomDashboardRole

func GetCustomDashboardRole(c *gin.Context)

func GetDashboardPanelList

func GetDashboardPanelList(c *gin.Context)

func GetEndpointList

func GetEndpointList(c *gin.Context)

func GetEndpointMetric

func GetEndpointMetric(c *gin.Context)

func GetEndpointTypeList

func GetEndpointTypeList(c *gin.Context)

func GetEndpointTypeNewList

func GetEndpointTypeNewList(c *gin.Context)

func GetEndpointsByIp

func GetEndpointsByIp(c *gin.Context)

func GetMainPage

func GetMainPage(c *gin.Context)

func GetPanels

func GetPanels(c *gin.Context)

@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 GetPieChart(c *gin.Context)

func GetPromMetric

func GetPromMetric(c *gin.Context)

func GetTags

func GetTags(c *gin.Context)

@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 ListCustomDashboard(c *gin.Context)

func ListMainPageRole

func ListMainPageRole(c *gin.Context)

func MainDashboard

func MainDashboard(c *gin.Context)

@Summary 页面通用接口 : 视图 @Description 获取主视图,有主机、网络等 @Produce json @Param type query string true "页面类型,主机页面type=host" @Success 200 @Router /api/v1/dashboard/main [get]

func MainSearch

func MainSearch(c *gin.Context)

@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 SaveCustomDashboard(c *gin.Context)

func SaveCustomDashboardRole

func SaveCustomDashboardRole(c *gin.Context)

func UpdateChartsTitle

func UpdateChartsTitle(c *gin.Context)

func UpdateMainPage

func UpdateMainPage(c *gin.Context)

func UpdatePanelChartMetric

func UpdatePanelChartMetric(c *gin.Context)

func UpdatePromMetric

func UpdatePromMetric(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL