Documentation
¶
Overview ¶
Package agentbinary installs unbounded-agent binaries from release archives.
Index ¶
- func EnsureDaemonBinaryLinks(ctx context.Context, log *slog.Logger, paths goalstates.AgentUpgradePaths) error
- func InstallAndSwitchFromTarGz(ctx context.Context, downloadURL string, paths goalstates.AgentUpgradePaths, ...) error
- func InstallFromFile(sourcePath, targetPath string, perm os.FileMode) (err error)
- func InstallFromTarGz(ctx context.Context, downloadURL, targetPath, binaryName string, ...) error
- func Verify(ctx context.Context, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDaemonBinaryLinks ¶
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 ¶
InstallFromFile installs a local agent binary to targetPath.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.