mds

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 27 Imported by: 16

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 *cephclient.ClusterInfo,
	context *clusterd.Context,
	clusterSpec *cephv1.ClusterSpec,
	fs cephv1.CephFilesystem,
	ownerInfo *k8sutil.OwnerInfo,
	dataDirHostPath string,
) *Cluster

NewCluster creates a Ceph mds cluster representation.

func (*Cluster) DeleteMdsCephObjects added in v1.3.3

func (c *Cluster) DeleteMdsCephObjects(mdsID string) error

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