Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CassandraDatacenterReconciler ¶
type CassandraDatacenterReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder // SecretWatches is used in the controller when setting up the watches and // during reconciliation where we update the mappings for the watches. // Putting it here allows us to get it to both places. SecretWatches dynamicwatch.DynamicWatches }
CassandraDatacenterReconciler reconciles a cassandraDatacenter object
func (*CassandraDatacenterReconciler) Reconcile ¶
func (r *CassandraDatacenterReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile reads that state of the cluster for a Datacenter object and makes changes based on the state read and what is in the cassandraDatacenter.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue. See: https://godoc.org/sigs.k8s.io/controller-runtime/pkg/reconcile#Result
func (*CassandraDatacenterReconciler) SetupWithManager ¶
func (r *CassandraDatacenterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.