Documentation
¶
Overview ¶
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Package commands exposes fresh Cobra command constructors for avr and avr-admin.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Command prose and semantic parameter descriptions. Maintain these with the command implementation.
Index ¶
- func Description(c *cobra.Command) docgen.Description
- func Documentation(root *cobra.Command) (*docgen.Tree, error)
- func Execute(ctx context.Context, args []string, deps Dependencies) (code int)
- func ExecuteRoot(ctx context.Context, root *cobra.Command, args []string, stderr io.Writer, ...) (code int)
- func IgnoreBrokenPipe()
- func InterruptContext(parent context.Context) (context.Context, context.CancelFunc)
- func NewArtifact(deps Dependencies) *cobra.Command
- func NewAudit(deps Dependencies) *cobra.Command
- func NewAuth(deps Dependencies) *cobra.Command
- func NewBilling(deps Dependencies) *cobra.Command
- func NewCache(deps Dependencies) *cobra.Command
- func NewConfig(deps Dependencies) *cobra.Command
- func NewDeviceLogin(deps Dependencies) *cobra.Command
- func NewFirewall(deps Dependencies) *cobra.Command
- func NewHealth(deps Dependencies) *cobra.Command
- func NewInternal(deps Dependencies) *cobra.Command
- func NewJob(deps Dependencies) *cobra.Command
- func NewLog(deps Dependencies) *cobra.Command
- func NewLogin(deps Dependencies) *cobra.Command
- func NewLogout(deps Dependencies) *cobra.Command
- func NewOrg(deps Dependencies) *cobra.Command
- func NewPR(deps Dependencies) *cobra.Command
- func NewRepo(deps Dependencies) *cobra.Command
- func NewRoot(deps Dependencies) *cobra.Command
- func NewRun(deps Dependencies) *cobra.Command
- func NewSBOM(deps Dependencies) *cobra.Command
- func NewSettings(deps Dependencies) *cobra.Command
- func NewStatus(deps Dependencies) *cobra.Command
- func NewTests(deps Dependencies) *cobra.Command
- func NewToken(deps Dependencies) *cobra.Command
- func NewVM(deps Dependencies) *cobra.Command
- func NewWorkflow(deps Dependencies) *cobra.Command
- type Dependencies
- type ExitError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Description ¶
func Description(c *cobra.Command) docgen.Description
Description supplies Go-owned prose and semantic metadata lazily. Command membership, executable flags, defaults and aliases come from the live tree.
func Documentation ¶
Documentation renders the public tree, including composed live extensions.
func Execute ¶
func Execute(ctx context.Context, args []string, deps Dependencies) (code int)
Execute is the standalone entry boundary; embedded consumers can execute their own root and inspect ExitError without a library ever calling os.Exit.
func ExecuteRoot ¶
func ExecuteRoot(ctx context.Context, root *cobra.Command, args []string, stderr io.Writer, dependencies ...Dependencies) (code int)
ExecuteRoot applies the shared exit-code contract to a composed command tree. Optional dependencies provide environment lookup for shell completion.
func IgnoreBrokenPipe ¶
func IgnoreBrokenPipe()
IgnoreBrokenPipe lets command handlers handle EPIPE without passing an ignored SIGPIPE disposition to child programs. Call only from main.
func InterruptContext ¶
InterruptContext is for executable entrypoints. Commands normally cancel on Ctrl-C; an attached interactive SSH child owns terminal interrupts until it exits. External cancellation of parent always remains effective.
func NewArtifact ¶
func NewArtifact(deps Dependencies) *cobra.Command
NewArtifact shares artifact inspection and verified file transfers with admin.
func NewAudit ¶
func NewAudit(deps Dependencies) *cobra.Command
NewAudit exposes organization write history.
func NewAuth ¶
func NewAuth(deps Dependencies) *cobra.Command
func NewBilling ¶
func NewBilling(deps Dependencies) *cobra.Command
NewBilling exposes billing records for the selected organization.
func NewCache ¶
func NewCache(deps Dependencies) *cobra.Command
NewCache exposes shared build-cache inspection and confirmed deletion.
func NewConfig ¶
func NewConfig(deps Dependencies) *cobra.Command
NewConfig exposes the shared host-scoped CLI configuration.
func NewDeviceLogin ¶
func NewDeviceLogin(deps Dependencies) *cobra.Command
NewDeviceLogin signs in without opening a local browser or callback listener.
func NewFirewall ¶
func NewFirewall(deps Dependencies) *cobra.Command
NewFirewall preserves the public CLI's explicit repository scope and boolean JSON flags.
func NewHealth ¶
func NewHealth(deps Dependencies) *cobra.Command
NewHealth inspects platform health without requiring a login.
func NewInternal ¶
func NewInternal(deps Dependencies) *cobra.Command
func NewJob ¶
func NewJob(deps Dependencies) *cobra.Command
NewJob returns independently owned job inspection and connection commands.
func NewLog ¶
func NewLog(deps Dependencies) *cobra.Command
NewLog returns repository-scoped full-text log search.
func NewLogin ¶
func NewLogin(deps Dependencies) *cobra.Command
func NewLogout ¶
func NewLogout(deps Dependencies) *cobra.Command
func NewOrg ¶
func NewOrg(deps Dependencies) *cobra.Command
NewOrg returns an independently owned public organization command group.
func NewPR ¶
func NewPR(deps Dependencies) *cobra.Command
NewPR returns shared pull-request inspection commands.
func NewRepo ¶
func NewRepo(deps Dependencies) *cobra.Command
NewRepo returns public repository inspection commands.
func NewRoot ¶
func NewRoot(deps Dependencies) *cobra.Command
func NewRun ¶
func NewRun(deps Dependencies) *cobra.Command
NewRun returns shared CI-run inspection commands.
func NewSBOM ¶
func NewSBOM(deps Dependencies) *cobra.Command
NewSBOM returns recorded repository SBOM inspection commands.
func NewSettings ¶
func NewSettings(deps Dependencies) *cobra.Command
NewSettings shares public settings scope selection and output with avr-admin.
func NewStatus ¶
func NewStatus(deps Dependencies) *cobra.Command
NewStatus returns the shared organization/repository status dashboard.
func NewTests ¶
func NewTests(deps Dependencies) *cobra.Command
NewTests reads the retained results of a job, including repeated occurrences.
func NewToken ¶
func NewToken(deps Dependencies) *cobra.Command
NewToken exposes scoped token creation, inspection and revocation.
func NewVM ¶
func NewVM(deps Dependencies) *cobra.Command
func NewWorkflow ¶
func NewWorkflow(deps Dependencies) *cobra.Command
NewWorkflow returns shared workflow discovery and execution commands.
Types ¶
type Dependencies ¶
type Dependencies struct {
// UpdateNotices supports injected notices. StartUpdateCheck is opt-in for the
// public executable; composed admin commands do not inherit a release feed.
StartUpdateCheck func(context.Context) <-chan string
UpdateNotices <-chan string
Verbose func() bool
ColorEnabled func() bool
RunSSH func(context.Context, []string) (int, error)
Store *config.Store
LoadConfig func() (config.Config, error)
HTTP *http.Client
In io.Reader
Out io.Writer
Err io.Writer
Getenv func(string) string
LookupEnv func(string) (string, bool)
OpenBrowser func(context.Context, string) error
Listen func(context.Context, string, string) (net.Listener, error)
Hostname func() (string, error)
Now func() time.Time
Wait func(context.Context, time.Duration) error
IsTerminal func() bool
IsInputTerminal func() bool
IsErrorTerminal func() bool
LoginTimeout time.Duration
GitRemote func(context.Context) (string, error)
Version string
}
Dependencies are explicit so admin can reuse commands without package globals.
Source Files
¶
- arguments.go
- artifact.go
- artifact_description.go
- audit.go
- audit_events_description.go
- auth.go
- auth_description.go
- billing.go
- billing_card.go
- billing_description.go
- billing_download.go
- billing_mutations.go
- browser.go
- cache.go
- cache_description.go
- ci_provider.go
- completion.go
- completion_source.go
- config.go
- config_description.go
- description.go
- device_login.go
- device_qr.go
- download.go
- firewall.go
- firewall_description.go
- git_credential.go
- git_mirrors.go
- gitlab_install.go
- gitlab_runner.go
- global.go
- health.go
- health_description.go
- help.go
- help_wrap.go
- inspection.go
- installations.go
- internal.go
- internal_description.go
- interrupt.go
- job.go
- job_description.go
- job_logs.go
- job_metrics.go
- job_ssh.go
- job_view.go
- job_watch.go
- lazy.go
- log_description.go
- log_search.go
- login.go
- login_description.go
- logout_description.go
- metrics_display.go
- metrics_stream.go
- native_dispatch.go
- native_rerun.go
- notify.go
- org_description.go
- organization.go
- organization_context.go
- pager.go
- pr.go
- pr_description.go
- profiling.go
- public_mirrors.go
- repo_clone.go
- repo_description.go
- repository_context.go
- root.go
- root_description.go
- run_description.go
- run_diagnose.go
- run_diagnostics.go
- run_display.go
- run_list.go
- run_logs.go
- run_logs_command.go
- run_mutation.go
- run_refs.go
- run_view.go
- run_watch.go
- saml.go
- sbom.go
- sbom_description.go
- sbom_display.go
- sbom_download.go
- sbom_generate.go
- sbom_wait.go
- settings.go
- settings_description.go
- signals_unix.go
- status.go
- status_description.go
- status_display.go
- terminal.go
- tests.go
- tests_description.go
- token.go
- token_create.go
- token_description.go
- update_notice.go
- usage_error.go
- vm.go
- vm_bootstrap.go
- vm_bootstrap_process.go
- vm_bootstrap_prompt.go
- vm_bootstrap_steps.go
- vm_capabilities.go
- vm_create.go
- vm_description.go
- vm_fork.go
- vm_input.go
- vm_lifecycle.go
- vm_metrics.go
- vm_output.go
- vm_spawn.go
- vm_ssh.go
- vm_ssh_config.go
- vm_ssh_exit_unix.go
- vm_state_stream.go
- vm_tunnel.go
- vm_tunnel_process.go
- vm_update.go
- vm_wait.go
- workflow.go
- workflow_description.go
- workflow_display.go
- workflow_inputs.go
- workflow_run.go