agentbinary

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package agentbinary installs unbounded-agent binaries from release archives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDaemonBinaryLinks(ctx context.Context, log *slog.Logger, paths goalstates.AgentUpgradePaths) error

EnsureDaemonBinaryLinks initializes daemon current, last-good, and compatibility binary links.

func InstallAndSwitchFromTarGz

func InstallAndSwitchFromTarGz(ctx context.Context, downloadURL string, paths goalstates.AgentUpgradePaths, perm os.FileMode) error

InstallAndSwitchFromTarGz installs the next agent binary and switches daemon links.

func InstallFromFile

func InstallFromFile(sourcePath, targetPath string, perm os.FileMode) (err error)

InstallFromFile installs a local agent binary to targetPath.

func InstallFromTarGz

func InstallFromTarGz(ctx context.Context, downloadURL, targetPath, binaryName string, perm os.FileMode) error

InstallFromTarGz downloads a remote .tar.gz archive and installs binaryName from it to targetPath.

func Verify

func Verify(ctx context.Context, path string) error

Verify runs the installed agent binary's version command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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