Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelCmd ¶
type ClusterInfo ¶
type ListCmd ¶
type ListCmd struct {
Pipeline string `help:"Filter by pipeline slug" short:"p"`
Since string `help:"Filter jobs from builds created since this time (e.g. 1h, 30m)"`
Until string `help:"Filter jobs from builds created before this time (e.g. 1h, 30m)"`
Duration string `help:"Filter by duration (e.g. >10m, <5m, 20m) - supports >, <, >=, <= operators"`
State []string `help:"Filter by job state"`
Queue string `help:"Filter by queue name"`
OrderBy string `help:"Order results by field (start_time, duration)" name:"order-by"`
Limit int `help:"Maximum number of jobs to return" default:"100"`
NoLimit bool `help:"Fetch all jobs (overrides --limit)" name:"no-limit"`
Output string `help:"Output format. One of: json, yaml, text" short:"o" default:"${output_default_format}" enum:"json,yaml,text"`
}
type UnblockCmd ¶
type UnblockCmd struct {
JobID string `arg:"" help:"Job UUID to unblock"`
Data string `help:"JSON formatted data to unblock the job"`
}
func (*UnblockCmd) Help ¶
func (c *UnblockCmd) Help() string
func (*UnblockCmd) Run ¶
func (c *UnblockCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error
Click to show internal directories.
Click to hide internal directories.