mds

package
v0.0.0-...-6f3db3d Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package mds provides methods for managing a Ceph mds cluster.

Index

Constants

View Source
const (
	// AppName is the name of Rook's Ceph mds (File) sub-app
	AppName = "rook-ceph-mds"
)

Variables

View Source
var UpdateDeploymentAndWait = mon.UpdateCephDeploymentAndWait

UpdateDeploymentAndWait can be overridden for unit tests. Do not alter this for runtime operation.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	// contains filtered or unexported fields
}

Cluster represents a Ceph mds cluster.

func NewCluster

func NewCluster(
	clusterInfo *cephconfig.ClusterInfo,
	context *clusterd.Context,
	rookVersion string,
	clusterSpec *cephv1.ClusterSpec,
	fs cephv1.CephFilesystem,
	fsdetails *client.CephFilesystemDetails,
	ownerRef metav1.OwnerReference,
	dataDirHostPath string,
) *Cluster

NewCluster creates a Ceph mds cluster representation.

func (*Cluster) Start

func (c *Cluster) Start() error

Start starts or updates a Ceph mds cluster in Kubernetes.

Jump to

Keyboard shortcuts

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