Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConditionCompleted = "Completed" ConditionDegraded = "Degraded" ConditionResyncing = "Resyncing" )
View Source
const ( Success = "Success" Promoted = "Promoted" Demoted = "Demoted" FailedToPromote = "FailedToPromote" FailedToDemote = "FailedToDemote" Error = "Error" VolumeDegraded = "VolumeDegraded" Healthy = "Healthy" ResyncTriggered = "ResyncTriggered" FailedToResync = "FailedToResync" NotResyncing = "NotResyncing" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolumeReplicationReconciler ¶
type VolumeReplicationReconciler struct {
client.Client
Scheme *runtime.Scheme
// ConnectionPool consists of map of Connection objects
Connpool *conn.ConnectionPool
// Timeout for the Reconcile operation.
Timeout time.Duration
Replication grpcClient.VolumeReplication
}
VolumeReplicationReconciler reconciles a VolumeReplication object.
func (*VolumeReplicationReconciler) Reconcile ¶
func (r *VolumeReplicationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.0/pkg/reconcile
func (*VolumeReplicationReconciler) SetupWithManager ¶
func (r *VolumeReplicationReconciler) SetupWithManager(mgr ctrl.Manager, ctrlOptions controller.Options) error
SetupWithManager sets up the controller with the Manager.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.