job

package
v3.64.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 38 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelCmd

type CancelCmd struct {
	JobID string `arg:"" help:"Job UUID to cancel" required:""`
	Web   bool   `help:"Open the job in a web browser after it has been cancelled" short:"w"`
}

func (*CancelCmd) Help

func (c *CancelCmd) Help() string

func (*CancelCmd) Run

func (c *CancelCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type ClusterInfo

type ClusterInfo struct {
	ID   string
	Name string
}

type FlakyTestsCmd added in v3.61.0

type FlakyTestsCmd struct {
	JobID string `arg:"" help:"Failed job UUID to inspect"`
	output.OutputFlags
}

func (*FlakyTestsCmd) Help added in v3.61.0

func (c *FlakyTestsCmd) Help() string

func (*FlakyTestsCmd) Run added in v3.61.0

func (c *FlakyTestsCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type ListCmd

type ListCmd struct {
	Pipeline string   `help:"Pipeline slug (uses the selected organization), org/pipeline, or Buildkite pipeline URL." short:"p"`
	Build    string   `help:"Filter by build number (requires a resolvable pipeline)"`
	StepKey  string   `help:"Filter by step key (requires --build)" name:"step-key"`
	GroupKey string   `help:"Filter by group key (requires --build)" name:"group-key"`
	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.OutputFlags
}

func (*ListCmd) Help

func (c *ListCmd) Help() string

func (*ListCmd) Run

func (c *ListCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type LogCmd added in v3.20.0

type LogCmd struct {
	JobID        string `arg:"" help:"Job UUID to get logs for"`
	Pipeline     string `help:"Deprecated; ignored because job UUIDs no longer require pipeline or build context" short:"p"`
	BuildNumber  string `help:"Deprecated; ignored because job UUIDs no longer require pipeline or build context" short:"b"`
	NoTimestamps bool   `help:"Strip timestamp prefixes from log output" name:"no-timestamps"`
	LLMOptimized bool   `help:"Format output to be optimal for LLM consumption (strips ANSI, deduplicates loops)" name:"agent" aliases:"llm"`
	Format       string `help:"Output rendering for --agent: plain or Markdown" name:"format" enum:"plain,markdown" default:"plain"`
	MaxTokens    int    `help:"Hard ceiling on the estimated token count of --agent output (0 = unlimited)" name:"max-tokens"`
	NoWindow     bool   `help:"Disable failure-focused windowing in --agent output (keep all lines)" name:"no-window"`
}

func (*LogCmd) Help added in v3.20.0

func (c *LogCmd) Help() string

func (*LogCmd) Run added in v3.20.0

func (c *LogCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type ReprioritizeCmd added in v3.24.0

type ReprioritizeCmd struct {
	JobID       string `arg:"" help:"Job UUID to reprioritize"`
	Priority    int    `arg:"" help:"New priority value for the job"`
	Pipeline    string `help:"Deprecated; ignored because job UUIDs no longer require pipeline or build context" short:"p"`
	BuildNumber string `help:"Deprecated; ignored because job UUIDs no longer require pipeline or build context" short:"b"`
}

func (*ReprioritizeCmd) Help added in v3.24.0

func (c *ReprioritizeCmd) Help() string

func (*ReprioritizeCmd) Run added in v3.24.0

func (c *ReprioritizeCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type RetryCmd

type RetryCmd struct {
	JobID string `arg:"" help:"Job UUID to retry"`
	output.OutputFlags
}

func (*RetryCmd) Help

func (c *RetryCmd) Help() string

func (*RetryCmd) Run

func (c *RetryCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type SSHCmd added in v3.55.0

type SSHCmd struct {
	JobID string `arg:"" name:"job-uuid" help:"UUID of the hosted agent job" required:""`
}

func (*SSHCmd) Help added in v3.55.0

func (c *SSHCmd) Help() string

func (*SSHCmd) Run added in v3.55.0

func (c *SSHCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

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

type VNCCmd added in v3.55.0

type VNCCmd struct {
	JobID string `arg:"" name:"job-uuid" help:"UUID of the hosted agent job" required:""`
}

func (*VNCCmd) Help added in v3.55.0

func (c *VNCCmd) Help() string

func (*VNCCmd) Run added in v3.55.0

func (c *VNCCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL