serverconfig

package
v1.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigAsJSON added in v1.24.0

func GetConfigAsJSON(dc *api.CassandraDatacenter, config []byte) (string, error)

GetConfigAsJSON gets a JSON-encoded string suitable for passing to configBuilder

func LegacyInternodeEnabled added in v1.24.0

func LegacyInternodeEnabled(dc *api.CassandraDatacenter) bool

Types

type NodeConfig

type NodeConfig map[string]interface{}

This needs to be outside of the apis package or else code-gen fails

func GetModelValues

func GetModelValues(
	seeds []string,
	clusterName string,
	dcName string,
	graphEnabled int,
	solrEnabled int,
	sparkEnabled int,
	nativePort int,
	nativeSSLPort int,
	internodePort int,
	internodeSSLPort int,
) NodeConfig

GetModelValues will gather the cluster model values for cluster and datacenter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL