Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type JobInfo ¶ added in v0.87.0
type JobInfo struct {
Name string `json:"name"`
Enabled bool `json:"enabled"`
Stack string `json:"stack,omitempty"`
Mode string `json:"mode"`
Schedule string `json:"schedule,omitempty"`
ExecutionMode docker.JobExecutionMode `json:"execution_mode,omitempty"`
SkipRunning bool `json:"skip_running"`
NotifyOn docker.JobNotifyOn `json:"notify_on,omitempty"`
Replicas uint64 `json:"replicas,omitempty"`
LastRunAt *time.Time `json:"last_run_at,omitempty"`
NextRunAt *time.Time `json:"next_run_at,omitempty"`
LabelNextRunAt *time.Time `json:"label_next_run_at,omitempty"`
Repository string `json:"repository,omitempty"`
ScheduleError string `json:"schedule_error,omitempty"`
Valid bool `json:"valid"`
}
JobInfo describes one scheduler-managed target and its runtime scheduling status.
Click to show internal directories.
Click to hide internal directories.