cli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrAmbiguousPrefix indicates multiple workloads matched the given UUID prefix.
	ErrAmbiguousPrefix = errors.New("ambiguous workload prefix")

	// ErrWorkloadNotFound indicates no workload matched the given ID or prefix.
	ErrWorkloadNotFound = errors.New("workload not found")

	// ErrMissingWorkloadID indicates an ID or prefix argument was not provided.
	ErrMissingWorkloadID = errors.New("workload ID or prefix is required")

	// ErrHealthCommandRequired indicates an exec probe was requested without a command.
	ErrHealthCommandRequired = errors.New("exec probe requires --health-cmd")
)

Functions

func Execute

func Execute(ctx context.Context, args []string, stdout, stderr io.Writer) error

Execute executes the Concord CLI with custom arguments and standard I/O streams.

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand creates the top-level 'concord' Cobra command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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