cmd

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: AGPL-3.0 Imports: 90 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "apoxy",
	Short: "Open-source edge platform built on Envoy, Kubernetes APIs, and QUIC tunneling.",
	Long: `Apoxy is an open-source edge platform built on Envoy, Kubernetes API infrastructure,
and QUIC tunneling. Core capabilities include:

  - API Gateway with Gateway API routing
  - Edge computing runtime for JS/WASM/Go functions
  - Secure tunneling via QUIC and connect-ip protocols

Apoxy Cloud is the managed offering — it handles DNS registration, instant TLS
certificates, and built-in observability so you focus on routing and logic instead
of infrastructure.

Get started at https://apoxy.dev and log in with 'apoxy auth'.`,
	SilenceErrors:     true,
	DisableAutoGenTag: true,
	PersistentPreRun: func(cmd *cobra.Command, args []string) {
		if config.PprofEnabled {
			go func() {
				log.Println("Starting pprof server on :6060")
				if err := http.ListenAndServe(":6060", nil); err != nil {
					log.Printf("pprof server failed: %v", err)
				}
			}()
		}
		maybePromptUpgrade(cmd)
	},
}

RootCmd represents the base command when called without any subcommands

Functions

func ExecuteContext

func ExecuteContext(ctx context.Context) error

ExecuteContext executes root command with context. This is called by main.main(). It only needs to happen once to the rootCmd.

func GenerateDocs

func GenerateDocs()

GenerateDocs generates the docs in the docs folder.

Types

This section is empty.

Directories

Path Synopsis
tui
Package vpc provides the `apoxy vpc` command tree for managing vpc.apoxy.dev objects: networks, services, relays, and tunnels.
Package vpc provides the `apoxy vpc` command tree for managing vpc.apoxy.dev objects: networks, services, relays, and tunnels.

Jump to

Keyboard shortcuts

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