controllers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 58 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPodNotScheduled = errors.New("One of pods is not scheduled yet")
	ErrRegionNotReady  = errors.New("One of the regions is not ready")
)

Functions

func SetupCassandraReconciler

func SetupCassandraReconciler(r reconcile.Reconciler, mgr manager.Manager, logr *zap.SugaredLogger, reconcileChan chan event.GenericEvent) error

Types

type CassandraClusterReconciler

type CassandraClusterReconciler struct {
	client.Client
	Log           *zap.SugaredLogger
	Scheme        *runtime.Scheme
	Cfg           config.Config
	Events        *events.EventRecorder
	Jobs          *jobs.JobManager
	ProberClient  func(url *url.URL, user, password string) prober.ProberClient
	CqlClient     func(cluster *gocql.ClusterConfig) (cql.CqlClient, error)
	ReaperClient  func(url *url.URL, clusterName string, defaultRepairThreadCount int32) reaper.ReaperClient
	NodectlClient func(jolokiaAddr, jmxUser, jmxPassword string, logr *zap.SugaredLogger) nodectl.Nodectl
}

CassandraClusterReconciler reconciles a CassandraCluster object

func (*CassandraClusterReconciler) Reconcile

type Role

type Role struct {
	Name     string `json:"name"`
	Password string `json:"password"`
	Super    *bool  `json:"super,omitempty"`
	Login    *bool  `json:"login,omitempty"`
	Delete   bool   `json:"delete,omitempty"`
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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