internal/

directory
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

Directories

Path Synopsis
Package auth owns token storage for the kupe CLI.
Package auth owns token storage for the kupe CLI.
Package build holds build-time metadata injected via -ldflags at link time.
Package build holds build-time metadata injected via -ldflags at link time.
Package cli owns the runtime plumbing shared by every command: the Factory that resolves config + client on demand, the IOStreams abstraction that gates color/spinners/prompts, the global flag struct bound on root, and the error-to-exit-code mapping.
Package cli owns the runtime plumbing shared by every command: the Factory that resolves config + client on demand, the IOStreams abstraction that gates color/spinners/prompts, the global flag struct bound on root, and the error-to-exit-code mapping.
Package client is the HTTP client for kupe-api.
Package client is the HTTP client for kupe-api.
clienttest
Package clienttest provides an in-memory Fake implementing client.Interface for use in unit tests.
Package clienttest provides an in-memory Fake implementing client.Interface for use in unit tests.
cmd
Package cmd wires the Cobra command tree for the kupe CLI.
Package cmd wires the Cobra command tree for the kupe CLI.
apikey
Package apikey wires the "kupe apikey" subcommand tree: list, create, delete.
Package apikey wires the "kupe apikey" subcommand tree: list, create, delete.
auth
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.
cluster
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.
config
Package config wires the "kupe config" subcommand tree.
Package config wires the "kupe config" subcommand tree.
invoice
Package invoice wires the "kupe invoice" subcommand tree — list + get.
Package invoice wires the "kupe invoice" subcommand tree — list + get.
member
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.
plan
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.
secret
Package secret wires the "kupe secret" subcommand tree for managed tenant secrets.
Package secret wires the "kupe secret" subcommand tree for managed tenant secrets.
tenant
Package tenant wires the "kupe tenant" subcommand tree.
Package tenant wires the "kupe tenant" subcommand tree.
Package config loads, saves, and resolves the kupe CLI's YAML config file.
Package config loads, saves, and resolves the kupe CLI's YAML config file.
Package kubeconfig assembles kubectl-compatible kubeconfig files from the {endpoint, certificateAuthority} envelope the kupe-api exposes, and merges them into the user's existing $KUBECONFIG / ~/.kube/config.
Package kubeconfig assembles kubectl-compatible kubeconfig files from the {endpoint, certificateAuthority} envelope the kupe-api exposes, and merges them into the user's existing $KUBECONFIG / ~/.kube/config.
Package printer handles rendering resources to stdout in the formats the -o flag supports (table, wide, json, yaml, name, go-template).
Package printer handles rendering resources to stdout in the formats the -o flag supports (table, wide, json, yaml, name, go-template).
Package ux owns the CLI's rich-output primitives: palette, spinner, progress driver for long-running polls.
Package ux owns the CLI's rich-output primitives: palette, spinner, progress driver for long-running polls.

Jump to

Keyboard shortcuts

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