cli

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 22 Imported by: 0

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 Execute

func Execute() error

Execute builds the cobra command tree and runs it.

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.

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.

Jump to

Keyboard shortcuts

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