file

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package file manages a CephFS filesystem and the required daemons.

Index

Constants

This section is empty.

Variables

View Source
var FilesystemResource = opkit.CustomResource{
	Name:    "cephfilesystem",
	Plural:  "cephfilesystems",
	Group:   cephv1.CustomResourceGroup,
	Version: cephv1.Version,
	Scope:   apiextensionsv1beta1.NamespaceScoped,
	Kind:    reflect.TypeOf(cephv1.CephFilesystem{}).Name(),
}

FilesystemResource represents the filesystem custom resource

Functions

This section is empty.

Types

type Filesystem added in v1.0.0

type Filesystem struct {
	Name string
	// contains filtered or unexported fields
}

Filesystem represents an instance of a Ceph filesystem (CephFS)

type FilesystemController

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

FilesystemController represents a controller for filesystem custom resources

func NewFilesystemController

func NewFilesystemController(
	clusterInfo *cephconfig.ClusterInfo,
	context *clusterd.Context,
	namespace string,
	rookVersion string,
	clusterSpec *cephv1.ClusterSpec,
	ownerRef metav1.OwnerReference,
	dataDirHostPath string,
	isUpgrade bool,
) *FilesystemController

NewFilesystemController create controller for watching filesystem custom resources created

func (*FilesystemController) ParentClusterChanged added in v1.0.0

func (c *FilesystemController) ParentClusterChanged(cluster cephv1.ClusterSpec, clusterInfo *cephconfig.ClusterInfo, isUpgrade bool)

ParentClusterChanged determines wether or not a CR update has been sent

func (*FilesystemController) StartWatch

func (c *FilesystemController) StartWatch(namespace string, stopCh chan struct{}) error

StartWatch watches for instances of Filesystem custom resources and acts on them

Directories

Path Synopsis
Package mds provides methods for managing a Ceph mds cluster.
Package mds provides methods for managing a Ceph mds cluster.

Jump to

Keyboard shortcuts

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