Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx context.Context, services ctlcorev1.ServiceController, netfilesystems ctlntefsv1.NetworkFilesystemController, opt *utils.Option) error
Register register the longhorn node CRD controller
Types ¶
type Controller ¶
type Controller struct {
ServiceCache ctlcorev1.ServiceCache
Services ctlcorev1.ServiceController
NetworkFSCache ctlntefsv1.NetworkFilesystemCache
NetworkFilsystems ctlntefsv1.NetworkFilesystemController
// contains filtered or unexported fields
}
func (*Controller) OnServicesChange ¶
OnServicesChange watch the services CR on change and sync up to networkfilesystem CR
Click to show internal directories.
Click to hide internal directories.