cassandra

package
v0.0.0-...-6ae417f Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add adds Cassandra controller to the manager.

func GetSTS

func GetSTS(cassandraConfig *v1alpha1.CassandraConfiguration, databaseNodeType string) *appsv1.StatefulSet

GetSTS returns cassandra sts object by template

Types

type ReconcileCassandra

type ReconcileCassandra struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver.
	Client     client.Client
	Scheme     *runtime.Scheme
	Manager    manager.Manager
	Kubernetes *k8s.Kubernetes
}

ReconcileCassandra reconciles a Cassandra object.

func (*ReconcileCassandra) Reconcile

func (r *ReconcileCassandra) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reconciles cassandra.

Jump to

Keyboard shortcuts

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