cmd

package
v0.5.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: PostgreSQL Imports: 9 Imported by: 0

Documentation

Overview

Package cmd wires the pgedge starfleet command tree: the starfleet root, its persistent connection flags, the account-level commands (auth, doctor, tenant, client, invite, membership), and the byoc and managed sub-trees.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStarfleetCmd

func NewStarfleetCmd(rt *module.Runtime) *cobra.Command

NewStarfleetCmd builds the `pgedge starfleet` command tree.

The four connection flags are declared here and nowhere else. One product means one connection, so byoc and managed no longer declare their own copies: every leaf reads them off its inherited flag set (connFlags in each sub-tree's client.go), which resolves against the nearest ancestor that declared them — this command. --timeout bounds one HTTP exchange, exactly as controlplane's flag of the same name does (#356); the wait bound is the per-leaf --wait-timeout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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