scylla

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed "scyllacluster.yaml.tmpl"
	ScyllaClusterTemplateString string
	ScyllaClusterTemplate       = ParseObjectTemplateOrDie[*scyllav1.ScyllaCluster]("scyllacluster", ScyllaClusterTemplateString)

	//go:embed "scylladb-config.yaml.tmpl"
	ScyllaDBConfigTemplateString string
	ScyllaDBConfigTemplate       = ParseObjectTemplateOrDie[*corev1.ConfigMap]("scylladb-config", ScyllaDBConfigTemplateString)

	//go:embed "nodeconfig.yaml"
	NodeConfig NodeConfigBytes

	ScyllaDBMonitoringTemplate = ParseObjectTemplateOrDie[*scyllav1alpha1.ScyllaDBMonitoring]("scylladbmonitoring", scyllaDBMonitoringTemplateString)
)

Functions

func ParseObjectTemplateOrDie added in v1.9.0

func ParseObjectTemplateOrDie[T runtime.Object](name, tmplString string) assets.ObjectTemplate[T]

Types

type NodeConfigBytes

type NodeConfigBytes []byte

func (NodeConfigBytes) ReadOrFail

func (sc NodeConfigBytes) ReadOrFail() *scyllav1alpha1.NodeConfig

Jump to

Keyboard shortcuts

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