Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx context.Context, coreClient ctlv1.Interface, lhClient *lhclientset.Clientset, endpoints ctlv1.EndpointsController, 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) OnNetworkFSChange ¶
func (c *Controller) OnNetworkFSChange(_ string, networkFS *networkfsv1.NetworkFilesystem) (*networkfsv1.NetworkFilesystem, error)
Click to show internal directories.
Click to hide internal directories.