Documentation ¶
Overview ¶
Package file manages a CephFS filesystem and the required daemons.
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 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 file system custom resource
Functions ¶
This section is empty.
Types ¶
type FilesystemController ¶
type FilesystemController struct {
// contains filtered or unexported fields
}
FilesystemController represents a controller for file system custom resources
func NewFilesystemController ¶
func NewFilesystemController( context *clusterd.Context, rookVersion string, cephVersion cephv1.CephVersionSpec, hostNetwork bool, ownerRef metav1.OwnerReference, ) *FilesystemController
NewFilesystemController create controller for watching file system custom resources created
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.