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
Click to show internal directories.
Click to hide internal directories.