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 ¶
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. |