 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package nodeinfomanager includes internal functions used to add/delete labels to kubernetes nodes for corresponding CSI drivers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
	CreateCSINodeInfo() (*csiv1alpha1.CSINodeInfo, error)
	// Record in the cluster the given node information from the CSI driver with the given name.
	// Concurrent calls to InstallCSIDriver() is allowed, but they should not be intertwined with calls
	// to other methods in this interface.
	InstallCSIDriver(driverName string, driverNodeID string, maxVolumeLimit int64, topology map[string]string) error
	// Remove in the cluster node information from the CSI driver with the given name.
	// Concurrent calls to UninstallCSIDriver() is allowed, but they should not be intertwined with calls
	// to other methods in this interface.
	UninstallCSIDriver(driverName string) error
}
    Interface implements an interface for managing labels of a node
func NewNodeInfoManager ¶
func NewNodeInfoManager( nodeName types.NodeName, volumeHost volume.VolumeHost) Interface
NewNodeInfoManager initializes nodeInfoManager
 Click to show internal directories. 
   Click to hide internal directories.