package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
GenerateSimulation is a utility function that creates a new allocation simulation using the provided state, workload, settings generators and seed.
No description provided by the author
NewStaticEventsWithNoEvents is StaticEvents's constructor.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BaseRanges provide fundamental range functionality and are embedded in specialized range structs.
BasicCluster implements the ClusterGen interace.
BasicLoad implements the LoadGen interface.
BasicRanges implements the RangeGen interface, supporting basic range info distribution, including even and skewed distributions.
LoadedCluster implements the ClusterGen interface.
LoadedRanges implements the RangeGen interface.
StaticEvents implements the EventGen interface.
StaticSettings implements the SettingsGen interface.
# Interfaces
ClusterGen provides a method to generate the initial cluster state, given a seed and simulation settings.
EventGen provides a method to generate a list of events that will apply to the simulated cluster.
LoadGen provides a method to generate a workload generator given a seed and simulation settings.
RangeGen provides a method to generate the initial range splits, range replica and lease placement within a cluster.
SettingsGen provides a method to generate simulations settings given a seed.
# Type aliases
PlacementType represents a type of placement distribution.