mds

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 19 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,
	ownerRefs []metav1.OwnerReference,
	dataDirHostPath string,
	isUpgrade bool,
) *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