type Jobq struct {
Stat Stat `cmd:"" help:"Show job queue statistics."`
Peek Peek `cmd:"" help:"Peek into the job queue, showing the next jobs without removing them."`
Trim Trim `cmd:"" help:"Trim the job queue, removing jobs up to a specified placement constraint."`
Inspect Inspect `cmd:"" help:"Inspect jobs in the job queue, showing detailed information about each job."`
}
type Peek struct {
Server string `required:"true"`
Identity string `required:"true"`
WithHistogram bool Placement *int Number int `help:"number of jobs to peek" alias:"n" default:"10"`
}
type Stat struct {
Server string `required:"true"`
Identity string `required:"true"`
WithHistogram bool `help:"Include raw histogram data in the output (all records)."`
Histogram string `help:"Include histogram data in the output (healthy,retrievable,oop)."`
Placement *int Retry bool}