Documentation ¶
Index ¶
- type LogQueryHistoryHandler
- func (h *LogQueryHistoryHandler) BatchDeleteLogQueryHistory(c *gin.Context)
- func (h *LogQueryHistoryHandler) DeleteLogQueryHistory(c *gin.Context)
- func (h *LogQueryHistoryHandler) ListLogQueryHistory(c *gin.Context)
- func (h *LogQueryHistoryHandler) PostLogQueryHistory(c *gin.Context)
- func (h *LogQueryHistoryHandler) RegistRouter(rg *gin.RouterGroup)
- type LogQuerySnapshotHandler
- func (h *LogQuerySnapshotHandler) DeleteLogQuerySnapshot(c *gin.Context)
- func (h *LogQuerySnapshotHandler) ListLogQuerySnapshot(c *gin.Context)
- func (h *LogQuerySnapshotHandler) PostLogQuerySnapshot(c *gin.Context)
- func (h *LogQuerySnapshotHandler) RegistRouter(rg *gin.RouterGroup)
- func (h *LogQuerySnapshotHandler) RetrieveLogQuerySnapshot(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogQueryHistoryHandler ¶
type LogQueryHistoryHandler struct {
base.BaseHandler
}
func (*LogQueryHistoryHandler) BatchDeleteLogQueryHistory ¶
func (h *LogQueryHistoryHandler) BatchDeleteLogQueryHistory(c *gin.Context)
DeleteLogQueryHistory 批量删除 LogQueryHistory @Tags LogQueryHistory @Summary 批量删除 LogQueryHistory @Description 批量删除 LogQueryHistory @Accept json @Produce json @Param logqueryhistory_id query uint true "lid" @Success 204 {object} handlers.ResponseStruct "resp" @Router /v1/logqueryhistory [delete] @Security JWT
func (*LogQueryHistoryHandler) DeleteLogQueryHistory ¶
func (h *LogQueryHistoryHandler) DeleteLogQueryHistory(c *gin.Context)
DeleteLogQueryHistory 删除 LogQueryHistory @Tags LogQueryHistory @Summary 删除 LogQueryHistory @Description 删除 LogQueryHistory @Accept json @Produce json @Param logqueryhistory_id path uint true "logqueryhistory_id" @Success 204 {object} handlers.ResponseStruct "resp" @Router /v1/logqueryhistory/{logqueryhistory_id} [delete] @Security JWT
func (*LogQueryHistoryHandler) ListLogQueryHistory ¶
func (h *LogQueryHistoryHandler) ListLogQueryHistory(c *gin.Context)
ListLogQueryHistory 列表 LogQueryHistory @Tags LogQueryHistory @Summary LogQueryHistory列表 @Description LogQueryHistory列表 @Accept json @Produce json @Param LogQL query string false "LogQL" @Param preload query string false "choices Cluster,Creator" @Param page query int false "page" @Param size query int false "page" @Param search query string false "search in (LogQL)" @Success 200 {object} handlers.ResponseStruct{Data=handlers.PageData{List=[]models.LogQueryHistory}} "LogQueryHistory" @Router /v1/logqueryhistory [get] @Security JWT
func (*LogQueryHistoryHandler) PostLogQueryHistory ¶
func (h *LogQueryHistoryHandler) PostLogQueryHistory(c *gin.Context)
PostLogQueryHistory 创建LogQueryHistory @Tags LogQueryHistory @Summary 创建LogQueryHistory @Description 创建LogQueryHistory @Accept json @Produce json @Param param body models.LogQueryHistory true "表单" @Success 200 {object} handlers.ResponseStruct{Data=models.LogQueryHistory} "LogQueryHistory" @Router /v1/logqueryhistory [post] @Security JWT
func (*LogQueryHistoryHandler) RegistRouter ¶
func (h *LogQueryHistoryHandler) RegistRouter(rg *gin.RouterGroup)
type LogQuerySnapshotHandler ¶
type LogQuerySnapshotHandler struct {
base.BaseHandler
}
func (*LogQuerySnapshotHandler) DeleteLogQuerySnapshot ¶
func (h *LogQuerySnapshotHandler) DeleteLogQuerySnapshot(c *gin.Context)
DeleteLogQuerySnapshot 删除 LogQuerySnapshot @Tags LogQuerySnapshot @Summary 删除 LogQuerySnapshot @Description 删除 LogQuerySnapshot @Accept json @Produce json @Param logquerysnapshot_id path uint true "logquerysnapshot_id" @Success 204 {object} handlers.ResponseStruct "resp" @Router /v1/logquerysnapshot/{logquerysnapshot_id} [delete] @Security JWT
func (*LogQuerySnapshotHandler) ListLogQuerySnapshot ¶
func (h *LogQuerySnapshotHandler) ListLogQuerySnapshot(c *gin.Context)
ListLogQuerySnapshot 列表 LogQuerySnapshot @Tags LogQuerySnapshot @Summary LogQuerySnapshot列表 @Description LogQuerySnapshot列表 @Accept json @Produce json @Param SnapshotName query string false "SnapshotName" @Param preload query string false "choices Cluster,Creator" @Param page query int false "page" @Param size query int false "page" @Param search query string false "search in (SnapshotName)" @Success 200 {object} handlers.ResponseStruct{Data=handlers.PageData{List=[]models.LogQuerySnapshot}} "LogQuerySnapshot" @Router /v1/logquerysnapshot [get] @Security JWT
func (*LogQuerySnapshotHandler) PostLogQuerySnapshot ¶
func (h *LogQuerySnapshotHandler) PostLogQuerySnapshot(c *gin.Context)
PostLogQuerySnapshot 创建LogQuerySnapshot @Tags LogQuerySnapshot @Summary 创建LogQuerySnapshot @Description 创建LogQuerySnapshot @Accept json @Produce json @Param param body models.LogQuerySnapshot true "表单" @Success 200 {object} handlers.ResponseStruct{Data=models.LogQuerySnapshot} "LogQuerySnapshot" @Router /v1/logquerysnapshot [post] @Security JWT
func (*LogQuerySnapshotHandler) RegistRouter ¶
func (h *LogQuerySnapshotHandler) RegistRouter(rg *gin.RouterGroup)
func (*LogQuerySnapshotHandler) RetrieveLogQuerySnapshot ¶
func (h *LogQuerySnapshotHandler) RetrieveLogQuerySnapshot(c *gin.Context)
RetrieveLogQuerySnapshot LogQuerySnapshot详情 @Tags LogQuerySnapshot @Summary LogQuerySnapshot详情 @Description get LogQuerySnapshot详情 @Accept json @Produce json @Param logquerysnapshot_id path uint true "logquerysnapshot_id" @Success 200 {object} handlers.ResponseStruct{Data=models.LogQuerySnapshot} "LogQuerySnapshot" @Router /v1/logquerysnapshot/{logquerysnapshot_id} [get] @Security JWT