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 ¶
Types ¶
type PeerToken ¶ added in v1.5.0
type PeerToken struct { ClusterFSID string `json:"fsid"` ClientID string `json:"client_id"` Key string `json:"key"` MonHost string `json:"mon_host"` }
PeerToken is the content of the peer token
type ReconcileCephRBDMirror ¶ added in v1.4.0
type ReconcileCephRBDMirror struct {
// contains filtered or unexported fields
}
ReconcileCephRBDMirror reconciles a cephRBDMirror object
func (*ReconcileCephRBDMirror) Reconcile ¶ added in v1.4.0
func (r *ReconcileCephRBDMirror) Reconcile(context context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a cephRBDMirror object and makes changes based on the state read and what is in the cephRBDMirror.Spec The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
Click to show internal directories.
Click to hide internal directories.