nfs

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

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

Jump to

Keyboard shortcuts

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