control

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8ssandraTaskReconciler

type K8ssandraTaskReconciler struct {
	*config.ReconcilerConfig
	client.Client
	Scheme      *runtime.Scheme
	ClientCache *clientcache.ClientCache
	Recorder    record.EventRecorder
}

K8ssandraTaskReconciler reconciles a K8ssandraTask object:

  • create a CassandraTask for each DC specified by the K8ssandraTask. Those will be picked up and executed by cass-operator.
  • watch the CassandraTasks (see SetupWithManager), and update the K8ssandraTask's status accordingly.

func (*K8ssandraTaskReconciler) Reconcile

func (r *K8ssandraTaskReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*K8ssandraTaskReconciler) SetupWithManager

func (r *K8ssandraTaskReconciler) SetupWithManager(mgr ctrl.Manager, clusters []cluster.Cluster) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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