package
23.2.20+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package mixedversion implements a framework for testing functionality when a cluster is in a mixed-version state.
# Functions
CheckInvalidDescriptors returns an error if there exists any descriptors in the crdb_internal.invalid_objects virtual table.
CheckReplicaDivergenceOnDB runs a consistency check via the provided DB.
DefaultHTTPClient returns a default RoachtestHTTPClient.
Every is a convenience constructor for an EveryN object that allows a log message every n duration.
GetDiskUsageInBytes does what's on the tin.
No description provided by the author
InstallLaunchAndConfigureJaegerAllInOne sets up jaeger on n1 and changes the cluster settings so that tracing is globally on and directed at the jaeger collector.
NewCommand builds a command.
NewDiskUsageLogger populates a DiskUsageLogger.
No description provided by the author
NewHealthChecker returns a populated HealthChecker.
SetDefaultAdminUIPort sets the AdminUI port to the default of 26258 if it is a non-local cluster.
SetDefaultSQLPort sets the SQL port to the default of 26257 if it is a non-local cluster.
SystemInterfaceSystemdUnitName is a convenience function that returns the systemd unit name for the system interface.
No description provided by the author
# Structs
Command wraps a command to be run in a cluster.
DiskUsageLogger regularly logs the disk spaced used by the nodes in the cluster.
DiskUsageTracker can grab the disk usage of the provided cluster.
EveryN provides a way to rate limit noisy log messages.
HealthChecker runs a regular check that verifies that a specified subset of (CockroachDB) nodes look "very healthy".
RoachtestHTTPClient is a wrapper over httputil.client that: - Adds cookies for every request, allowing the client to authenticate with secure clusters.
No description provided by the author