# Functions
AsPrimaryBuild forces a build to be treated as a primary build (i.e.
AsVerificationBuild forces a build to be treated as a verification build (i.e.
BuildEnvDefinitions returns the set of env vars guaranteed to be available to the build instructions, alongside a description of each one.
BuildSpecificBuildEnvDefinitions are environment variables that are expected to be different between different runs without affecting the built artifacts.
No description provided by the author
InvariantBuildEnvDefinitions are environment variables that should be set exactly the same for both primary build and all verification builds.
No description provided by the author
No description provided by the author
NewConfig expects product, params, and paths to be fully initialized.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithCleanOnly causes the build to fail early if it's not based on a clean worktree.
WithContext sets the context passed when we shell out.
WithDebugfunc sest the debug func.
WithForceRebuild forces a build to be re-done rather than using cache.
WithForceVerification forces a build to be a verification build (or not depending on the boolean passed).
WithLogfunc sets the log func.
WithLogPrefix sets the log prefix.
WithDebugfunc sest the debug func.
WithStderr sets the stderr for when we shell out.
WithStdout sets the stdout for when we shell out.
No description provided by the author
# Variables
CacheKeyFunc can be overridden by tests to generate stable strings.
ConfigIDFunc can be overridden in tests to generate stable config IDs.
No description provided by the author
TempDirFunc is the function used by this package to get the system temp dir.
# Structs
Config contains the complete configuration to build a single binary on a specific host.
No description provided by the author
envVar represents a documented environment variable alongside a function showing how it is extracted from Config.
Inputs represents the fixed inuputs to the build.
LocalVerification is the local verification build.
Manager is responsible for orchestrating the running of builds.
Meta captures after-the-fact information about the build.
Parameters are the set of build inputs that should be enough (along with the Product) to reproduce a build.
Paths are host-specific absolute paths to various things.
Primary is the primary build.
RemoteBuild is a build where the source code is hosted remotely.
Result captures a single binary build.
Runner is responsible for executing and logging build steps and constructing the build Result.
Settings contains settings for running builds.
No description provided by the author
No description provided by the author
VerificationResult captures the result of a primary and local verification build together with easy-access hashes and an overall "reproduced correctly" boolean.
No description provided by the author
# Interfaces
Build represents the build of a single binary.
No description provided by the author
# Type aliases
No description provided by the author
Option represents a function that configures Settings.
No description provided by the author