Documentation
¶
Overview ¶
Package cli implements the kubesoloctl command-line interface.
The only exported symbol is Execute, which builds and runs the full cobra command tree. cmd/kubesoloctl/main.go is a thin wrapper that calls Execute with version metadata injected at build time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitOnError ¶
func ExitOnError(err error)
exitOnError is a convenience for main to exit with code 1 on error.
func SetVersionInfo ¶
func SetVersionInfo(v, c, d string)
SetVersionInfo records build-time version metadata for the version command.
Types ¶
This section is empty.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package detect identifies the host system's architecture, libc variant, init system, and environment type.
|
Package detect identifies the host system's architecture, libc variant, init system, and environment type. |
|
Package download handles fetching, verifying, and extracting the KubeSolo binary from GitHub Releases, as well as offline installation from a local archive or binary file.
|
Package download handles fetching, verifying, and extracting the KubeSolo binary from GitHub Releases, as well as offline installation from a local archive or binary file. |
|
Package kubeconfig merges the KubeSolo admin kubeconfig into the invoking user's ~/.kube/config after installation, mirroring the behaviour of the original bash installer script.
|
Package kubeconfig merges the KubeSolo admin kubeconfig into the invoking user's ~/.kube/config after installation, mirroring the behaviour of the original bash installer script. |
|
Package preflight implements all pre-installation validation checks.
|
Package preflight implements all pre-installation validation checks. |
|
Package process handles stopping running KubeSolo processes and releasing the ports and file handles they hold before a fresh installation begins.
|
Package process handles stopping running KubeSolo processes and releasing the ports and file handles they hold before a fresh installation begins. |
|
Package service provides an init-system-agnostic interface for installing, enabling, and controlling the KubeSolo system service.
|
Package service provides an init-system-agnostic interface for installing, enabling, and controlling the KubeSolo system service. |
|
Package ui provides lightweight terminal output primitives for kubesoloctl.
|
Package ui provides lightweight terminal output primitives for kubesoloctl. |
Click to show internal directories.
Click to hide internal directories.