Documentation
¶
Index ¶
Constants ¶
const ( ConditionCompleted = "Completed" ConditionDegraded = "Degraded" ConditionResyncing = "Resyncing" )
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 VolumeGroupReplicationContentReconciler ¶
VolumeGroupReplicationContentReconciler reconciles a VolumeGroupReplicationContent object
func (*VolumeGroupReplicationContentReconciler) Reconcile ¶
func (r *VolumeGroupReplicationContentReconciler) 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.
func (*VolumeGroupReplicationContentReconciler) SetupWithManager ¶
func (r *VolumeGroupReplicationContentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type VolumeGroupReplicationReconciler ¶
VolumeGroupReplicationReconciler reconciles a VolumeGroupReplication object
func (*VolumeGroupReplicationReconciler) Reconcile ¶
func (r *VolumeGroupReplicationReconciler) 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.
func (*VolumeGroupReplicationReconciler) SetupWithManager ¶
func (r *VolumeGroupReplicationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
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.