mds

package
v0.0.0-...-cfb3faf Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 27 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 *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

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