package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
ChannelFromPlatform retrurns the telemetry channel used for a particular platform.
CreateArchive creates a release archive and returns its binary contents.
CrossConfigFromPlatform returns the cross*base config corresponding to the given platform.
DefaultPlatforms returns a list of platforms supported by default.
MakeCRDBBinaryArchiveFile generates the ArchiveFile object for a CRDB binary.
MakeCRDBBinaryNonReleaseFile creates a NonRelease object for the CRDB binary.
MakeCRDBLibraryArchiveFiles generates the ArchiveFile object for relevant CRDB helper libraries.
MakeCRDBLibraryNonReleaseFiles creates the NonReleaseFile objects for relevant CRDB shipped libraries.
MakeRelease makes the release binary and associated files.
MakeWorkload makes the bin/workload binary.
MarkLatestReleaseWithSuffix adds redirects to release files using "latest" instead of the version.
NewGCS creates a new instance of GCSProvider.
PutNonRelease uploads non-release related files.
PutRelease uploads a compressed archive containing the release files and a checksum file of the archive.
SharedLibraryExtensionFromPlatform returns the shared library extensions for a given Platform.
SuffixFromPlatform returns the suffix that will be appended to the `cockroach` binary when built with the given platform.
TargetTripleFromPlatform returns the target triple that will be baked into the cockroach binary for the given platform.
TrimDotExe trims '.exe.
# Constants
ChecksumSuffix is a suffix of release tarball checksums.
PlatformLinux is the Linux x86_64 target.
PlatformLinuxArm is the Linux aarch64 target.
PlatformLinuxFIPS is the Linux FIPS target.
PlatformMacOS is the Darwin x86_64 target.
PlatformMacOSArm is the Darwin aarch6 target.
PlatformWindows is the Windows (mingw) x86_64 target.
# Variables
CRDBSharedLibraries are all the shared libraries for CRDB, without the extension.
NoCache is a string constant to send no-cache to AWS.
# Structs
ArchiveFile is a file to store in the archive for a release.
BuildOptions is a set of options that may be applied to a build.
ExecFn is a mockable wrapper for executing commands.
GCSProvider is an implementation of the ObjectPutGetter interface for GCS.
GetObjectInput specifies input parameters for GetOject.
GetObjectOutput specifies output parameters for GetOject.
LatestOpts are parameters passed to MarkLatestReleaseWithSuffix.
NonReleaseFile is a file to upload when publishing a non-release.
PutNonReleaseOptions are options to pass into PutNonRelease.
PutObjectInput specifies input parameters for PutOject.
PutReleaseOptions are options to for the PutRelease function.
# Interfaces
ObjectPutGetter specifies a minimal interface for cloud storage providers.