rbd

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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