file

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 32 Imported by: 31

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, opManagerContext context.Context, opConfig opcontroller.OperatorConfig) 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 CephFilesystemDependents added in v1.8.2

func CephFilesystemDependents(clusterdCtx *clusterd.Context, clusterInfo *client.ClusterInfo, filesystem *v1.CephFilesystem) (*dependents.DependentList, error)

CephFilesystemDependents returns the subvolume group(s) which exist in the ceph filesystem that should block deletion.

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
Package subvolumegroup to manage CephFS subvolume groups
Package subvolumegroup to manage CephFS subvolume groups

Jump to

Keyboard shortcuts

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