package nodeinfomanager
import "k8s.io/kubernetes/pkg/volume/csi/nodeinfomanager"
Package nodeinfomanager includes internal functions used to add/delete labels to kubernetes nodes for corresponding CSI drivers
Index ¶
Types ¶
type Interface ¶
type Interface interface { CreateCSINode() (*storagev1.CSINode, error) // Updates or Creates the CSINode object with annotations for CSI Migration InitializeCSINodeWithAnnotation() 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 // UpdateCSIDriver updates CSIDrivers field in the CSINode object. UpdateCSIDriver(driverName string, driverNodeID string, maxAttachLimit 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, migratedPlugins map[string](func() bool)) Interface
NewNodeInfoManager initializes nodeInfoManager
Source Files ¶
nodeinfomanager.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 21 packages
- Last checked
- 3 hours ago –
Tools for package owners.