Documentation
¶
Index ¶
- type AddGroupRequest
- type ClientDetails
- type ClientsRequest
- type ExecuteHistorySnapshotDeleteRequest
- type ExecuteHistorySnapshotsRequest
- type ExecuteSnapshotDetails
- type ExecuteSnapshotHisDetails
- type ExecuteSnapshotsRequest
- type GroupDetails
- type JobConfAddRequest
- type JobConfDeleteRequest
- type JobConfDetails
- type JobConfListRequest
- type JobConfUpdateRequest
- type JobExecuteRequest
- type NodeDetails
- type Result
- type SchedulePlanDetails
- type ScheduleSnapshotDeleteRequest
- type ScheduleSnapshotDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddGroupRequest ¶
type ClientDetails ¶
type ClientsRequest ¶
type ClientsRequest struct {
Group string `json:"group"`
}
type ExecuteHistorySnapshotDeleteRequest ¶
type ExecuteHistorySnapshotDeleteRequest struct {
Id int64 `json:"id"`
}
type ExecuteHistorySnapshotsRequest ¶
type ExecuteHistorySnapshotsRequest struct {
JobId string `json:"job_id"`
SnapshotId string `json:"snapshot_id"`
JobName string `json:"job_name"`
Group string `json:"group"`
Ip string `json:"ip"`
State int32 `json:"state"`
ScheduleStartTime string `json:"schedule_start_time"`
ScheduleEndTime string `json:"schedule_end_time"`
PageNo int32 `json:"page_no"`
PageSize int32 `json:"page_size"`
}
type ExecuteSnapshotDetails ¶
type ExecuteSnapshotDetails struct {
Id string `json:"id"`
JobId string `json:"job_id"`
Name string `json:"name"`
Group string `json:"group"`
Cron string `json:"cron"`
Target string `json:"target"`
Ip string `json:"ip"`
Param string `json:"param"`
State int32 `json:"state"`
BeforeTime string `json:"before_time"`
ScheduleTime string `json:"schedule_time"`
StartTime string `json:"start_time"`
EndTime string `json:"end_time"`
Times int64 `json:"times"`
Mobile string `json:"mobile"`
Version int32 `json:"version"`
Remark string `json:"remark"`
}
func (*ExecuteSnapshotDetails) Decode ¶
func (e *ExecuteSnapshotDetails) Decode(content string) *ExecuteSnapshotDetails
type ExecuteSnapshotHisDetails ¶
type ExecuteSnapshotHisDetails struct {
Id int64 `json:"id"`
SnapshotId string `json:"snapshot_id"`
JobId string `json:"job_id"`
JobName string `json:"job_name"`
Group string `json:"group"`
Cron string `json:"cron"`
Target string `json:"target"`
Ip string `json:"ip"`
Param string `json:"param"`
State int32 `json:"state"`
BeforeTime string `json:"before_time"`
ScheduleTime string `json:"schedule_time"`
StartTime string `json:"start_time"`
EndTime string `json:"end_time"`
Times int64 `json:"times"`
Mobile string `json:"mobile"`
Remark string `json:"remark"`
}
type ExecuteSnapshotsRequest ¶
type GroupDetails ¶
type GroupDetails struct {
Name string `json:"name"`
Remark string `json:"remark"`
Clients []string `json:"clients"`
}
func (*GroupDetails) Decode ¶
func (g *GroupDetails) Decode(content string) *GroupDetails
func (*GroupDetails) Encode ¶
func (g *GroupDetails) Encode() string
type JobConfAddRequest ¶
type JobConfDeleteRequest ¶
type JobConfDetails ¶
type JobConfDetails struct {
Id string `json:"id"`
Name string `json:"name"`
Group string `json:"group"`
Cron string `json:"cron"`
Target string `json:"target"`
Param string `json:"param"`
State int32 `json:"state"`
Mobile string `json:"mobile"`
Remark string `json:"remark"`
CreateTime string `json:"create_time"`
UpdateTime string `json:"update_time"`
Version int64 `json:"version"`
}
func (*JobConfDetails) Decode ¶
func (d *JobConfDetails) Decode(content string) *JobConfDetails
func (*JobConfDetails) Encode ¶
func (d *JobConfDetails) Encode() string
type JobConfListRequest ¶
type JobConfListRequest struct {
Group string `json:"group"`
}
type JobConfUpdateRequest ¶
type JobExecuteRequest ¶
type NodeDetails ¶
type SchedulePlanDetails ¶
type SchedulePlanDetails struct {
Id string `json:"id"`
Name string `json:"name"`
Group string `json:"group"`
Cron string `json:"cron"`
Target string `json:"target"`
Param string `json:"param"`
BeforeTime string `json:"before_time"`
NextTime string `json:"next_time"`
Mobile string `json:"mobile"`
Remark string `json:"remark"`
}
调度计划详情
type ScheduleSnapshotDeleteRequest ¶
type ScheduleSnapshotDeleteRequest struct {
Id string `json:"id"`
}
type ScheduleSnapshotDetails ¶
type ScheduleSnapshotDetails struct {
Id string `json:"id"`
JobId string `json:"job_id"`
Name string `json:"name"`
Group string `json:"group"`
Cron string `json:"cron"`
Target string `json:"target"`
Param string `json:"param"`
BeforeTime string `json:"before_time"`
ScheduleTime string `json:"schedule_time"`
Mobile string `json:"mobile"`
Version int32 `json:"version"`
Remark string `json:"remark"`
}
func (*ScheduleSnapshotDetails) Decode ¶
func (s *ScheduleSnapshotDetails) Decode(content string) *ScheduleSnapshotDetails
Click to show internal directories.
Click to hide internal directories.