file

package
v1.7.8 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 30 Imported by: 27

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

func Add(mgr manager.Manager, context *clusterd.Context) error

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

type Filesystem struct {
	Name      string
	Namespace string
}

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.

Directories

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

Jump to

Keyboard shortcuts

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