Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationStats ¶
type ApplicationStats struct {
Name string
Initialized bool
InitializedAt time.Time
InitializationErr error
Started bool
StartedAt time.Time
StartErr error
Stopped bool
StoppedAt time.Time
StopErr error
HealthcheckedAt time.Time
HealthcheckErr error
LivenessErr error
Ready bool
ReadinessErr error
Restarts int
RestartedAt time.Time
InitDuration time.Duration
StartDuration time.Duration
StopDuration time.Duration
Source common.Service
}
func (*ApplicationStats) Healthcheck ¶
func (s *ApplicationStats) Healthcheck() error
func (*ApplicationStats) Uptime ¶
func (s *ApplicationStats) Uptime() time.Duration
type PlannerStats ¶
type PlannerStats struct {
ID string `json:"id"`
Schedule string `json:"schedule"`
State string `json:"state"`
Progress float64 `json:"progress"`
StartedAt time.Time `json:"started_at"`
ExecutionTime time.Duration `json:"execution_time"`
Cooldown time.Duration `json:"cooldown"`
Retries uint `json:"retries"`
Labels labels.Set `json:"labels"`
Error string `json:"error"`
}
type PlannerStatsOptions ¶
type PlannerTODO ¶
Click to show internal directories.
Click to hide internal directories.