Documentation ¶
Overview ¶
Package nfs to manage an NFS export.
Package nfs operator to manage NFS Server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NFSResource = opkit.CustomResource{ Name: customResourceName, Plural: customResourceNamePlural, Group: nfsv1alpha1.CustomResourceGroup, Version: nfsv1alpha1.Version, Scope: apiextensionsv1beta1.NamespaceScoped, Kind: reflect.TypeOf(nfsv1alpha1.NFSServer{}).Name(), }
NFSResource represents the nfs export custom resource
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller represents a controller object for nfs server custom resources
func NewController ¶
func NewController(context *clusterd.Context, containerImage string) *Controller
NewController create controller for watching nfsserver custom resources created
func (*Controller) StartWatch ¶
func (c *Controller) StartWatch(namespace string, stopCh chan struct{}) error
StartWatch watches for instances of nfsserver custom resources and acts on them
Click to show internal directories.
Click to hide internal directories.