Documentation ¶
Overview ¶
Package file manages a CephFS filesystem and the required daemons.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FilesystemResource = k8sutil.CustomResource{ Name: "cephfilesystem", Plural: "cephfilesystems", Group: cephv1.CustomResourceGroup, Version: cephv1.Version, Kind: reflect.TypeOf(cephv1.CephFilesystem{}).Name(), }
FilesystemResource represents the filesystem custom resource
Functions ¶
This section is empty.
Types ¶
type Filesystem ¶
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, ) *FilesystemController
NewFilesystemController create controller for watching filesystem custom resources created
func (*FilesystemController) ParentClusterChanged ¶
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{})
StartWatch watches for instances of Filesystem custom resources and acts on them
Click to show internal directories.
Click to hide internal directories.