Documentation
¶
Index ¶
- Constants
- Variables
- func RunRcloneDestReconciler(ctx context.Context, instance *volsyncv1alpha1.ReplicationDestination, ...) (ctrl.Result, error)
- func RunRcloneSrcReconciler(ctx context.Context, instance *volsyncv1alpha1.ReplicationSource, ...) (ctrl.Result, error)
- func RunRsyncDestReconciler(ctx context.Context, instance *volsyncv1alpha1.ReplicationDestination, ...) (ctrl.Result, error)
- func RunRsyncSrcReconciler(ctx context.Context, instance *volsyncv1alpha1.ReplicationSource, ...) (ctrl.Result, error)
- type ReplicationDestinationReconciler
- type ReplicationSourceReconciler
Constants ¶
View Source
const ( // DefaultRsyncContainerImage is the default container image name of the rsync data mover DefaultRsyncContainerImage = "quay.io/backube/volsync-mover-rsync:latest" // DefaultRcloneContainerImage is the default container image name of the rclone data mover DefaultRcloneContainerImage = "quay.io/backube/volsync-mover-rclone:latest" )
Variables ¶
View Source
var ( // RsyncContainerImage is the container image name of the rsync data mover RsyncContainerImage string // RcloneContainerImage is the container image name of the rclone data mover RcloneContainerImage string // SCCName is the name of the volsync security context constraint SCCName string )
Functions ¶
func RunRcloneDestReconciler ¶
func RunRcloneDestReconciler( ctx context.Context, instance *volsyncv1alpha1.ReplicationDestination, dr *ReplicationDestinationReconciler, logger logr.Logger, ) (ctrl.Result, error)
RunRcloneDestReconciler reconciles rclone mover related objects.
func RunRcloneSrcReconciler ¶
func RunRcloneSrcReconciler( ctx context.Context, instance *volsyncv1alpha1.ReplicationSource, sr *ReplicationSourceReconciler, logger logr.Logger, ) (ctrl.Result, error)
RunRcloneSrcReconciler is invoked when ReplicationSource.Spec.Rclone != nil
func RunRsyncDestReconciler ¶
func RunRsyncDestReconciler( ctx context.Context, instance *volsyncv1alpha1.ReplicationDestination, dr *ReplicationDestinationReconciler, logger logr.Logger, ) (ctrl.Result, error)
func RunRsyncSrcReconciler ¶
func RunRsyncSrcReconciler( ctx context.Context, instance *volsyncv1alpha1.ReplicationSource, sr *ReplicationSourceReconciler, logger logr.Logger, ) (ctrl.Result, error)
Types ¶
type ReplicationDestinationReconciler ¶
type ReplicationDestinationReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
}
ReplicationDestinationReconciler reconciles a ReplicationDestination object
func (*ReplicationDestinationReconciler) SetupWithManager ¶
func (r *ReplicationDestinationReconciler) SetupWithManager(mgr ctrl.Manager) error
type ReplicationSourceReconciler ¶
ReplicationSourceReconciler reconciles a ReplicationSource object
func (*ReplicationSourceReconciler) SetupWithManager ¶
func (r *ReplicationSourceReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
VolSync data movers are created by implementing the interfaces in this package.
|
VolSync data movers are created by implementing the interfaces in this package. |
Click to show internal directories.
Click to hide internal directories.