Documentation ¶
Index ¶
- Variables
- func AgentHostRegister(group *gin.RouterGroup)
- func AgentOverViewTaskRegister(group *gin.RouterGroup)
- func AgentRegister(group *gin.RouterGroup)
- func AgentTaskRegister(group *gin.RouterGroup)
- func BakHistoryRegister(group *gin.RouterGroup)
- func BakRegister(group *gin.RouterGroup)
- func DashBoardRegister(group *gin.RouterGroup)
- func EsBakRegister(group *gin.RouterGroup)
- func EsHistoryRegister(group *gin.RouterGroup)
- func EsTaskRegister(group *gin.RouterGroup)
- func ListenRegister(ctx *gin.Context, serviceName string, ListenChan chan struct{})
- type AgentController
- type AgentHostController
- func (a *AgentHostController) AddHost(c *gin.Context)
- func (a *AgentHostController) DeleteHost(c *gin.Context)
- func (a *AgentHostController) GetHostNames(ctx *gin.Context)
- func (a *AgentHostController) HostList(c *gin.Context)
- func (a *AgentHostController) HostTest(c *gin.Context)
- func (a *AgentHostController) UpdateHost(c *gin.Context)
- type AgentTaskController
- func (a *AgentTaskController) TaskAdd(ctx *gin.Context)
- func (a *AgentTaskController) TaskAutoAdd(ctx *gin.Context)
- func (a *AgentTaskController) TaskDelete(ctx *gin.Context)
- func (a *AgentTaskController) TaskDetail(ctx *gin.Context)
- func (a *AgentTaskController) TaskList(ctx *gin.Context)
- func (a *AgentTaskController) TaskRestore(ctx *gin.Context)
- func (a *AgentTaskController) TaskUpdate(ctx *gin.Context)
- type BakController
- type BakHistoryController
- type DashBoardController
- type EsBakController
- type EsHistoryController
- type EsTaskController
- func (e *EsTaskController) AddEsTask(ctx *gin.Context)
- func (e *EsTaskController) DeleteEsTask(ctx *gin.Context)
- func (e *EsTaskController) GetEsTaskDetail(ctx *gin.Context)
- func (e *EsTaskController) GetEsTaskList(ctx *gin.Context)
- func (e *EsTaskController) RestoreEsTask(ctx *gin.Context)
- func (e *EsTaskController) UpdateEsTask(ctx *gin.Context)
- type OverViewTask
- func (o *OverViewTask) BatchStartTask(ctx *gin.Context)
- func (o *OverViewTask) BatchStopTask(ctx *gin.Context)
- func (o *OverViewTask) DeleteTask(ctx *gin.Context)
- func (o *OverViewTask) GetOverViewTaskList(ctx *gin.Context)
- func (o *OverViewTask) RestoreTask(ctx *gin.Context)
- func (o *OverViewTask) StartOveTask(ctx *gin.Context)
- func (o *OverViewTask) StopOveTask(ctx *gin.Context)
- func (o *OverViewTask) Sync(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var AgentService *repository.AgentService
Functions ¶
func AgentHostRegister ¶
func AgentHostRegister(group *gin.RouterGroup)
func AgentOverViewTaskRegister ¶
func AgentOverViewTaskRegister(group *gin.RouterGroup)
func AgentRegister ¶
func AgentRegister(group *gin.RouterGroup)
func AgentTaskRegister ¶
func AgentTaskRegister(group *gin.RouterGroup)
func BakHistoryRegister ¶
func BakHistoryRegister(group *gin.RouterGroup)
func BakRegister ¶
func BakRegister(group *gin.RouterGroup)
func DashBoardRegister ¶
func DashBoardRegister(group *gin.RouterGroup)
func EsBakRegister ¶
func EsBakRegister(group *gin.RouterGroup)
func EsHistoryRegister ¶
func EsHistoryRegister(group *gin.RouterGroup)
func EsTaskRegister ¶
func EsTaskRegister(group *gin.RouterGroup)
func ListenRegister ¶
Types ¶
type AgentController ¶
type AgentController struct { }
func (*AgentController) DeRegister ¶
func (a *AgentController) DeRegister(ctx *gin.Context)
func (*AgentController) Delete ¶
func (a *AgentController) Delete(ctx *gin.Context)
func (*AgentController) GetAgentList ¶
func (a *AgentController) GetAgentList(ctx *gin.Context)
func (*AgentController) GetServiceNumInfo ¶
func (a *AgentController) GetServiceNumInfo(ctx *gin.Context)
func (*AgentController) Register ¶
func (a *AgentController) Register(ctx *gin.Context)
type AgentHostController ¶
type AgentHostController struct {
// contains filtered or unexported fields
}
func (*AgentHostController) AddHost ¶
func (a *AgentHostController) AddHost(c *gin.Context)
func (*AgentHostController) DeleteHost ¶
func (a *AgentHostController) DeleteHost(c *gin.Context)
func (*AgentHostController) GetHostNames ¶
func (a *AgentHostController) GetHostNames(ctx *gin.Context)
func (*AgentHostController) HostList ¶
func (a *AgentHostController) HostList(c *gin.Context)
func (*AgentHostController) HostTest ¶
func (a *AgentHostController) HostTest(c *gin.Context)
func (*AgentHostController) UpdateHost ¶
func (a *AgentHostController) UpdateHost(c *gin.Context)
type AgentTaskController ¶
type AgentTaskController struct {
// contains filtered or unexported fields
}
func (*AgentTaskController) TaskAdd ¶
func (a *AgentTaskController) TaskAdd(ctx *gin.Context)
func (*AgentTaskController) TaskAutoAdd ¶
func (a *AgentTaskController) TaskAutoAdd(ctx *gin.Context)
func (*AgentTaskController) TaskDelete ¶
func (a *AgentTaskController) TaskDelete(ctx *gin.Context)
func (*AgentTaskController) TaskDetail ¶
func (a *AgentTaskController) TaskDetail(ctx *gin.Context)
func (*AgentTaskController) TaskList ¶
func (a *AgentTaskController) TaskList(ctx *gin.Context)
func (*AgentTaskController) TaskRestore ¶
func (a *AgentTaskController) TaskRestore(ctx *gin.Context)
func (*AgentTaskController) TaskUpdate ¶
func (a *AgentTaskController) TaskUpdate(ctx *gin.Context)
type BakController ¶
type BakController struct {
// contains filtered or unexported fields
}
func (*BakController) StartBak ¶
func (b *BakController) StartBak(ctx *gin.Context)
func (*BakController) StartBakByHost ¶
func (b *BakController) StartBakByHost(ctx *gin.Context)
func (*BakController) StopBak ¶
func (b *BakController) StopBak(ctx *gin.Context)
func (*BakController) StopBakByHost ¶
func (b *BakController) StopBakByHost(ctx *gin.Context)
func (*BakController) TestBak ¶
func (b *BakController) TestBak(ctx *gin.Context)
type BakHistoryController ¶
type BakHistoryController struct {
// contains filtered or unexported fields
}
func (*BakHistoryController) DeleteHistory ¶
func (b *BakHistoryController) DeleteHistory(ctx *gin.Context)
func (*BakHistoryController) GetHistoryNumInfo ¶
func (b *BakHistoryController) GetHistoryNumInfo(ctx *gin.Context)
func (*BakHistoryController) HistoryList ¶
func (b *BakHistoryController) HistoryList(ctx *gin.Context)
type DashBoardController ¶
type DashBoardController struct{}
func (*DashBoardController) GetBarChartData ¶
func (d *DashBoardController) GetBarChartData(ctx *gin.Context)
type EsBakController ¶
type EsBakController struct {
// contains filtered or unexported fields
}
func (*EsBakController) Start ¶
func (e *EsBakController) Start(ctx *gin.Context)
func (*EsBakController) Stop ¶
func (e *EsBakController) Stop(ctx *gin.Context)
type EsHistoryController ¶
type EsHistoryController struct{}
func (*EsHistoryController) DeleteEsHistory ¶
func (e *EsHistoryController) DeleteEsHistory(ctx *gin.Context)
func (*EsHistoryController) GetEsHistoryDetail ¶
func (e *EsHistoryController) GetEsHistoryDetail(ctx *gin.Context)
func (*EsHistoryController) GetEsHistoryList ¶
func (e *EsHistoryController) GetEsHistoryList(ctx *gin.Context)
func (*EsHistoryController) GetEsHistoryNumInfo ¶
func (e *EsHistoryController) GetEsHistoryNumInfo(ctx *gin.Context)
type EsTaskController ¶
type EsTaskController struct {
// contains filtered or unexported fields
}
func (*EsTaskController) AddEsTask ¶
func (e *EsTaskController) AddEsTask(ctx *gin.Context)
func (*EsTaskController) DeleteEsTask ¶
func (e *EsTaskController) DeleteEsTask(ctx *gin.Context)
func (*EsTaskController) GetEsTaskDetail ¶
func (e *EsTaskController) GetEsTaskDetail(ctx *gin.Context)
func (*EsTaskController) GetEsTaskList ¶
func (e *EsTaskController) GetEsTaskList(ctx *gin.Context)
func (*EsTaskController) RestoreEsTask ¶
func (e *EsTaskController) RestoreEsTask(ctx *gin.Context)
func (*EsTaskController) UpdateEsTask ¶
func (e *EsTaskController) UpdateEsTask(ctx *gin.Context)
type OverViewTask ¶
type OverViewTask struct {
// contains filtered or unexported fields
}
func (*OverViewTask) BatchStartTask ¶
func (o *OverViewTask) BatchStartTask(ctx *gin.Context)
func (*OverViewTask) BatchStopTask ¶
func (o *OverViewTask) BatchStopTask(ctx *gin.Context)
func (*OverViewTask) DeleteTask ¶
func (o *OverViewTask) DeleteTask(ctx *gin.Context)
func (*OverViewTask) GetOverViewTaskList ¶
func (o *OverViewTask) GetOverViewTaskList(ctx *gin.Context)
func (*OverViewTask) RestoreTask ¶
func (o *OverViewTask) RestoreTask(ctx *gin.Context)
func (*OverViewTask) StartOveTask ¶
func (o *OverViewTask) StartOveTask(ctx *gin.Context)
func (*OverViewTask) StopOveTask ¶
func (o *OverViewTask) StopOveTask(ctx *gin.Context)
func (*OverViewTask) Sync ¶
func (o *OverViewTask) Sync(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.