Documentation
¶
Index ¶
Constants ¶
View Source
const ( ReadyState = "Ready" InvalidState = "Invalid" ErrorState = "Error" NoState = "" InProgress = "IN_PROGRESS" DeletingState = "Deleting" Action = "Action" MaxRetryDurationForActions = 1 * time.Hour MaxNumberOfConditions = 20 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionAnnotation ¶
type ActionResult ¶
type ActionResult struct {
ActionType ActionType
Time time.Time
Error error
IsFinalError bool
PGStatus *csiext.StorageProtectionGroupStatus
}
type ActionType ¶
type ActionType string
func (ActionType) Equals ¶
func (a ActionType) Equals(val string) bool
func (ActionType) String ¶
func (a ActionType) String() string
type PersistentVolumeClaimReconciler ¶
type PersistentVolumeClaimReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
EventRecorder record.EventRecorder
DriverName string
ReplicationClient csireplication.Replication
ContextPrefix string
SingleFlightGroup singleflight.Group
Domain string
}
PersistentVolumeClaimReconciler reconciles a PersistentVolumeClaim object
func (*PersistentVolumeClaimReconciler) SetupWithManager ¶
func (r *PersistentVolumeClaimReconciler) SetupWithManager(mgr ctrl.Manager, limiter ratelimiter.RateLimiter, maxReconcilers int) error
type PersistentVolumeReconciler ¶
type PersistentVolumeReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
EventRecorder record.EventRecorder
DriverName string
ReplicationClient csireplication.Replication
ContextPrefix string
SingleFlightGroup singleflight.Group
Domain string
}
func (*PersistentVolumeReconciler) SetupWithManager ¶
func (r *PersistentVolumeReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, limiter ratelimiter.RateLimiter, maxReconcilers int) error
type ReplicationGroupMonitoring ¶
type ReplicationGroupMonitoring struct {
client.Client
EventRecorder record.EventRecorder
Log logr.Logger
DriverName string
ReplicationClient csireplication.Replication
MonitoringInterval time.Duration
}
type ReplicationGroupReconciler ¶
type ReplicationGroupReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
EventRecorder record.EventRecorder
DriverName string
ReplicationClient csireplication.Replication
SupportedActions []*csiext.SupportedActions
MaxRetryDurationForActions time.Duration
}
func (*ReplicationGroupReconciler) SetupWithManager ¶
func (r *ReplicationGroupReconciler) SetupWithManager(mgr ctrl.Manager, limiter ratelimiter.RateLimiter, maxReconcilers int) error
Click to show internal directories.
Click to hide internal directories.