cmd

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package cmd wires the Cobra command tree for the kupe CLI. Every subcommand lives in its own subpackage; this package owns the root command, global-flag binding, and the Execute entrypoint called from main.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context) int

Execute runs the root command with the given context and returns the exit code. The caller (main) passes this to os.Exit.

Types

This section is empty.

Directories

Path Synopsis
Package apikey wires the "kupe apikey" subcommand tree: list, create, delete.
Package apikey wires the "kupe apikey" subcommand tree: list, create, delete.
Package auth wires the "kupe auth" subcommand tree: login, logout, whoami, get-token.
Package auth wires the "kupe auth" subcommand tree: login, logout, whoami, get-token.
Package cluster wires the "kupe cluster" subcommand tree: list, get, create, delete, update, kubeconfig (Phase 4), wait.
Package cluster wires the "kupe cluster" subcommand tree: list, get, create, delete, update, kubeconfig (Phase 4), wait.
Package config wires the "kupe config" subcommand tree.
Package config wires the "kupe config" subcommand tree.
Package invoice wires the "kupe invoice" subcommand tree — list + get.
Package invoice wires the "kupe invoice" subcommand tree — list + get.
Package member wires the "kupe member" subcommand tree: list, add, update (role), remove.
Package member wires the "kupe member" subcommand tree: list, add, update (role), remove.
Package plan wires the "kupe plan" subcommand tree — list + get against the public /api/v1/plans endpoints.
Package plan wires the "kupe plan" subcommand tree — list + get against the public /api/v1/plans endpoints.
Package secret wires the "kupe secret" subcommand tree for managed tenant secrets.
Package secret wires the "kupe secret" subcommand tree for managed tenant secrets.
Package tenant wires the "kupe tenant" subcommand tree.
Package tenant wires the "kupe tenant" subcommand tree.

Jump to

Keyboard shortcuts

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