package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

BinaryPathForVersion shows where a certain binary (typically `cockroach`, `workload`) for the given version is expected to be found on roachprod nodes.
BinaryVersion returns the binary version running on the node associated with the given database connection.
CheckpointName returns the expected name of the checkpoint file under `pkg/cmd/roachtest/fixtures/{nodeID}` for the given binary version.
ClusterVersion returns the cluster version active on the node associated with the given database connection.
CurrentVersion returns the version associated with the current build.
InstallFixtures copies the previously created fixtures (in pkg/cmd/roachtest/fixtures) for the given version to the nodes passed.
LatestPatchRelease returns the latest patch release version for a given release series.
MustParseVersion parses the version string given (with or without leading 'v') and returns the corresponding `Version` object.
ParseVersion parses the version string given (with or without leading 'v') and returns the corresponding `Version` object.
RestartNodesWithNewBinary uploads a given cockroach version to the nodes passed, and restarts the cockroach process.
StartWithSettings starts cockroach and constructs settings according to the setting options passed.
UploadCockroach stages the cockroach binary in the nodes.
UploadWorkload stages the workload binary in the nodes.
WaitForClusterUpgrade waits for the cluster version to reach the first node's binary version.

# Variables

CurrentVersionString is how we represent the binary or cluster versions associated with the current binary (the one being tested).
DefaultUpgradeTimeout is the default timeout used when waiting for an upgrade to finish (i.e., for all migrations to run and for the cluster version to propagate).

# Structs

Version is a thin wrapper around the `version.Version` struct that provides convenient utility function to pretty print versions and check whether this is the current version being tested.