transferagent

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package transferagent resolves and cross-builds honey-transfer-agent binaries for target GOOS/GOARCH and optional cloud flavor (S3/GCS/full).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeTargetRuntime

func NormalizeTargetRuntime(goos, goarch string) (string, string, error)

NormalizeTargetRuntime maps uname-style values to GOOS/GOARCH used for cross-builds.

func ResolveBinary

func ResolveBinary(overridePath, preferredPath, cacheDir, targetOS, targetArch, cloudProvider string) (string, error)

ResolveBinary returns a path to honey-transfer-agent for the given target OS/arch and cloud flavor. overridePath wins if set; else preferredPath (e.g. server default binary); else cross-build into cacheDir.

func SetEmbeddedHoneyVersion

func SetEmbeddedHoneyVersion(v string)

SetEmbeddedHoneyVersion sets the honey binary version used to pick the matching GitHub release for default transfer-agent downloads (releases/download/<tag>/…). Call from cmd/honey/main.go with the same string passed to cli.InitBuildInfo.

Types

This section is empty.

Directories

Path Synopsis
Package presign generates short-lived presigned URLs for transferring files to/from S3 or GCS without requiring an agent binary on the remote host.
Package presign generates short-lived presigned URLs for transferring files to/from S3 or GCS without requiring an agent binary on the remote host.

Jump to

Keyboard shortcuts

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