rbd

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

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