Documentation
¶
Overview ¶
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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadBundle ¶
DownloadBundle downloads the KubeSolo release tarball into outDir and copies the running kubesoloctl binary alongside it, producing a fully self-contained offline bundle ready to be transferred to an air-gapped machine.
- archiveName is the kubesolo release tarball, e.g. "kubesolo-v1.1.8-linux-amd64.tar.gz"
- version is the kubesolo release tag, e.g. "v1.1.8"
func Install ¶
Install places the KubeSolo binary at /usr/local/bin/kubesolo. If offlineSrc is non-empty it is used as the source instead of downloading. Supported formats: .tar.gz / .tgz (archive containing the kubesolo binary), or any other path (treated as a raw binary and copied directly). Otherwise the binary is fetched from GitHub Releases using archiveName and version to build the URL.
Types ¶
This section is empty.