nfs

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 25 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package nfs manages NFS ganesha servers for Ceph

Index

Constants

This section is empty.

Variables

View Source
var CephNFSResource = opkit.CustomResource{
	Name:    "cephnfs",
	Plural:  "cephnfses",
	Group:   cephv1.CustomResourceGroup,
	Version: cephv1.Version,
	Scope:   apiextensionsv1beta1.NamespaceScoped,
	Kind:    reflect.TypeOf(cephv1.CephNFS{}).Name(),
}

CephNFSResource represents the file system custom resource

Functions

This section is empty.

Types

type CephNFSController

type CephNFSController struct {
	// contains filtered or unexported fields
}

CephNFSController represents a controller for NFS custom resources

func NewCephNFSController

func NewCephNFSController(clusterInfo *cephconfig.ClusterInfo, context *clusterd.Context, dataDirHostPath, namespace, rookImage string, clusterSpec *cephv1.ClusterSpec, ownerRef metav1.OwnerReference) *CephNFSController

NewCephNFSController create controller for watching NFS custom resources created

func (*CephNFSController) ParentClusterChanged

func (c *CephNFSController) ParentClusterChanged(cluster cephv1.ClusterSpec, clusterInfo *cephconfig.ClusterInfo, isUpgrade bool)

ParentClusterChanged performs the steps needed to update the NFS cluster when the parent Ceph cluster has changed.

func (*CephNFSController) StartWatch

func (c *CephNFSController) StartWatch(namespace string, stopCh chan struct{}) error

StartWatch watches for instances of CephNFS custom resources and acts on them

Jump to

Keyboard shortcuts

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