shell

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(installSpec *spec.InstallSpec) ([]byte, error)

Generate creates the installer shell script content based on the InstallSpec. The generated script will dynamically determine OS, Arch, and Version at runtime.

func GenerateRunner added in v0.6.0

func GenerateRunner(installSpec *spec.InstallSpec, targetVersion string) ([]byte, error)

GenerateRunner creates a runner shell script that downloads and runs the binary without installing

func GenerateWithScriptType added in v0.6.0

func GenerateWithScriptType(installSpec *spec.InstallSpec, targetVersion, scriptType string) ([]byte, error)

GenerateWithScriptType creates a shell script based on the specified script type

func GenerateWithVersion added in v0.0.12

func GenerateWithVersion(installSpec *spec.InstallSpec, targetVersion string) ([]byte, error)

GenerateWithVersion creates the installer shell script content based on the InstallSpec. If targetVersion is specified, the script will be generated for that specific version only.

Types

This section is empty.

Jump to

Keyboard shortcuts

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