Documentation
¶
Overview ¶
Package agentdist maps the exact server release to its immutable agent artifacts. It never derives a filesystem path from a request.
Index ¶
Constants ¶
View Source
const ( BasePath = "/agent-packages/" Checksums = "checksums.txt" MaxPackageSize = 64 << 20 MaxSumsSize = 1 << 20 // BinaryPath is where the deb/rpm packages (nFPM bindir) and the tarball // steps install the agent, and what the systemd unit runs. Commands meant // for root call it by this path because root's PATH can lack // /usr/local/bin (seen on Debian 13). BinaryPath = "/usr/local/bin/myownpki-agent" )
Variables ¶
View Source
var ( ErrNotFound = errors.New("agent artifact not found") Formats = []string{"deb", "rpm", "tarball"} Arches = []string{"amd64", "arm64"} )
Functions ¶
func IsNotFound ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.