rbd

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package rbd for mirroring

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mirroring

type Mirroring struct {
	ClusterInfo *cephconfig.ClusterInfo
	Namespace   string
	// 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,
	hostNetwork bool,
	spec cephv1.RBDMirroringSpec,
	resources v1.ResourceRequirements,
	ownerRef metav1.OwnerReference,
	dataDirHostPath string,
) *Mirroring

New creates an instance of the rbd mirroring

func (*Mirroring) Start

func (m *Mirroring) Start() error

Start begins the process of running rbd mirroring daemons.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL