sharemanager

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

Register register the longhorn node CRD controller

Types

type Controller

type Controller struct {
	ShareManagerCache ctllonghornv1.ShareManagerCache
	ShareManagers     ctllonghornv1.ShareManagerController
	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

Jump to

Keyboard shortcuts

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