Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx context.Context, sharemanager ctllonghornv1.ShareManagerController, netfilesystems ctlntefsv1.NetworkFilesystemController, opt *utils.Option) error
Register register the longhorn node CRD controller
Types ¶
type Controller ¶
type Controller struct { NetworkFSCache ctlntefsv1.NetworkFilesystemCache NetworkFilsystems ctlntefsv1.NetworkFilesystemController // contains filtered or unexported fields }
func (*Controller) OnShareManagerChange ¶
func (c *Controller) OnShareManagerChange(_ string, sharemanager *longhornv1.ShareManager) (*longhornv1.ShareManager, error)
OnChange watch the node CR on change and sync up to block device CR
Click to show internal directories.
Click to hide internal directories.