const annotationKeyNodeID …
var nodeKind …
var updateBackoff …
type nodeInfoManager …
type nodeUpdateFunc …
type Interface …
func NewNodeInfoManager(
nodeName types.NodeName,
volumeHost volume.VolumeHost,
migratedPlugins map[string](func() bool)) Interface { … }
func (nim *nodeInfoManager) InstallCSIDriver(driverName string, driverNodeID string, maxAttachLimit int64, topology map[string]string) error { … }
func (nim *nodeInfoManager) UninstallCSIDriver(driverName string) error { … }
func (nim *nodeInfoManager) updateNode(updateFuncs ...nodeUpdateFunc) error { … }
func (nim *nodeInfoManager) tryUpdateNode(updateFuncs ...nodeUpdateFunc) error { … }
func buildNodeIDMapFromAnnotation(node *v1.Node) (map[string]string, error) { … }
func updateNodeIDInNode(
csiDriverName string,
csiDriverNodeID string) nodeUpdateFunc { … }
func removeNodeIDFromNode(csiDriverName string) nodeUpdateFunc { … }
func updateTopologyLabels(topology map[string]string) nodeUpdateFunc { … }
func (nim *nodeInfoManager) updateCSINode(
driverName string,
driverNodeID string,
maxAttachLimit int64,
topology map[string]string) error { … }
func (nim *nodeInfoManager) tryUpdateCSINode(
csiKubeClient clientset.Interface,
driverName string,
driverNodeID string,
maxAttachLimit int64,
topology map[string]string) error { … }
func (nim *nodeInfoManager) InitializeCSINodeWithAnnotation() error { … }
func (nim *nodeInfoManager) tryInitializeCSINodeWithAnnotation(csiKubeClient clientset.Interface) error { … }
func (nim *nodeInfoManager) CreateCSINode() (*storagev1.CSINode, error) { … }
func setMigrationAnnotation(migratedPlugins map[string](func() bool), nodeInfo *storagev1.CSINode) (modified bool) { … }
func keepAllocatableCount(driverInfoSpec storagev1.CSINodeDriver, maxAttachLimit int64) bool { … }
func (nim *nodeInfoManager) installDriverToCSINode(
nodeInfo *storagev1.CSINode,
driverName string,
driverNodeID string,
maxAttachLimit int64,
topology map[string]string) error { … }
func (nim *nodeInfoManager) uninstallDriverFromCSINode(
csiDriverName string) error { … }
func (nim *nodeInfoManager) tryUninstallDriverFromCSINode(
csiKubeClient clientset.Interface,
csiDriverName string) error { … }
func removeMaxAttachLimit(driverName string) nodeUpdateFunc { … }