mds

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 18 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 = k8sutil.UpdateDeploymentAndWait

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

Functions

func DeleteCluster

func DeleteCluster(context *clusterd.Context, namespace, fsName string) error

DeleteCluster deletes a Ceph mds cluster from Kubernetes.

Types

type Cluster

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

Cluster represents a Ceph mds cluster.

func NewCluster

func NewCluster(
	clusterInfo *cephconfig.ClusterInfo,
	context *clusterd.Context,
	rookVersion string,
	cephVersion cephv1.CephVersionSpec,
	hostNetwork bool,
	fs cephv1.CephFilesystem,
	fsdetails *client.CephFilesystemDetails,
	ownerRefs []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