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
Click to show internal directories.
Click to hide internal directories.