Documentation ¶
Overview ¶
Package file manages a CephFS filesystem and the required daemons.
Package file manages a CephFS filesystem and the required daemons.
Package file manages a CephFS filesystem and the required daemons.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶ added in v1.3.0
Add creates a new CephFilesystem Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func SetPoolSize ¶ added in v1.3.2
func SetPoolSize(f *Filesystem, context *clusterd.Context, clusterInfo *cephclient.ClusterInfo, clusterSpec *cephv1.ClusterSpec, spec cephv1.FilesystemSpec) error
SetPoolSize function sets the sizes for MetadataPool and dataPool
Types ¶
type Filesystem ¶ added in v1.0.0
Filesystem represents an instance of a Ceph filesystem (CephFS)
type ReconcileCephFilesystem ¶ added in v1.3.0
type ReconcileCephFilesystem struct {
// contains filtered or unexported fields
}
ReconcileCephFilesystem reconciles a CephFilesystem object
func (*ReconcileCephFilesystem) Reconcile ¶ added in v1.3.0
func (r *ReconcileCephFilesystem) Reconcile(context context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a CephFilesystem object and makes changes based on the state read and what is in the cephFilesystem.Spec The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.