Documentation ¶
Overview ¶
Package nfs for NFS ganesha
Package nfs to manage a NFS Ganesha server ¶
Package nfs for NFS ganesha ¶
Package nfs for NFS ganesha
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
}
NFSCephNFSController represents a controller for NFS custom resources
func NewCephNFSController ¶
func NewCephNFSController(clusterInfo *cephconfig.ClusterInfo, context *clusterd.Context, namespace, rookImage string, cephVersion cephv1.CephVersionSpec, hostNetwork bool, ownerRef metav1.OwnerReference) *CephNFSController
NewNFSCephNFSController create controller for watching NFS custom resources created
func (*CephNFSController) ParentClusterChanged ¶
func (c *CephNFSController) ParentClusterChanged(cluster cephv1.ClusterSpec, clusterInfo *cephconfig.ClusterInfo)
func (*CephNFSController) StartWatch ¶
func (c *CephNFSController) StartWatch(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.