Documentation ¶
Overview ¶
Package rbd for mirroring
Index ¶
Constants ¶
View Source
const (
// AppName is the ceph rbd mirror application name
AppName = "rook-ceph-rbd-mirror"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mirroring ¶
type Mirroring struct { ClusterInfo *cephconfig.ClusterInfo Namespace string Network cephv1.NetworkSpec // contains filtered or unexported fields }
Mirroring represents the Rook and environment configuration settings needed to set up rbd mirroring.
func New ¶
func New( cluster *cephconfig.ClusterInfo, context *clusterd.Context, namespace, rookVersion string, cephVersion cephv1.CephVersionSpec, placement rookalpha.Placement, annotations rookalpha.Annotations, network cephv1.NetworkSpec, spec cephv1.RBDMirroringSpec, resources v1.ResourceRequirements, priorityClassName string, ownerRef metav1.OwnerReference, dataDirHostPath string, isUpgrade bool, skipUpgradeChecks bool, ) *Mirroring
New creates an instance of the rbd mirroring
Click to show internal directories.
Click to hide internal directories.