rbd

package
v1.1.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 17 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

	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,
	ownerRef metav1.OwnerReference,
	dataDirHostPath string,
	isUpgrade 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