download

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 11 Imported by: 0

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

func DownloadBundle(outDir, archiveName, version string) error

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

func Install(offlineSrc, archiveName, version string) error

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.

Jump to

Keyboard shortcuts

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