# Functions

No description provided by the author
If auth is enabled in this cluster, we need to allow components to access the cluster through CQL.
No description provided by the author
No description provided by the author
AddNumTokens adds the num_tokens option to cassandra.yaml if it is not already present, because otherwise Cassandra defaults to num_tokens: 1, which is not recommended.
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
AddStartRpc adds the start_rpc option to cassandra.yaml, but only if Cassandra is 3.x.
No description provided by the author
No description provided by the author
ApplyAuth modifies the dc config depending on whether auth is enabled in the cluster or not.
ApplyAuthSettings modifies the given config and applies defaults for authenticator, authorizer and role manager, depending on whether auth is enabled or not, and only if these settings are empty in the input config.
ApplySystemReplication adds system properties to configure replication of system keyspaces.
No description provided by the author
Coalesce merges the cluster and dc templates.
No description provided by the author
ComputeInitialTokens computes initial tokens for each DC, assign those tokens to the first RF pods in the DC, and stores the result in the DC config for later retrieval.
ComputeReplication computes the desired replication for each dc, taking into account the desired maximum replication per dc.
ComputeReplicationFromDatacenters is similar to ComputeReplication but takes dc templates as parameters along with potential external datacenters (unmanaged by the operator).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EnableSmartTokenAllocation adds the allocate_tokens_for_local_replication_factor option to cassandra.yaml if it is not already present when running DSE.
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
HandleDeprecatedJvmOptions handles the deprecated settings: HeapSize and HeapNewGenSize by copying their values, if any, to the appropriate destination settings, iif these are nil.
HandleEncryptionOptions sets up encryption in the datacenter config template.
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
UpdateCassandraContainer finds the cassandra container, passes it to f, and then adds it back to the PodTemplateSpec.
UpdateContainer finds the container with the given name, passes it to f, and then adds it back to the PodTemplateSpec.
UpdateInitContainer finds the init container with the given name, passes it to f, and then adds it back to the PodTemplateSpec.
UpdateLoggerContainer updates the PodTemplateSpec part for server-system-logger.
No description provided by the author
ValidateDatacenterConfig checks the coalesced DC config for missing fields and mandatory options, and then validates the cassandra.yaml file.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

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

# Structs

DatacenterConfig provides the configuration to be applied to the CassandraDatacenter.
No description provided by the author
// Replication provides a mapping of DCs to a mapping of keyspaces and their replica counts.

# Interfaces

ManagementApiFacade is a component mirroring methods available on httphelper.NodeMgmtClient.
ManagementApiFactory creates request-scoped instances of ManagementApiFacade.

# Type aliases

SystemReplication represents the replication factor of the system_auth, system_traces, and system_distributed keyspaces.