mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-03 04:06:14 +00:00
Refactor volume attach code
This commit is contained in:
@@ -245,6 +245,9 @@ type ActualStateOfWorldAttacherUpdater interface {
|
||||
// Unmarks the desire to detach for the specified volume (add the volume back to
|
||||
// the node's volumesToReportAsAttached list)
|
||||
AddVolumeToReportAsAttached(volumeName v1.UniqueVolumeName, nodeName types.NodeName)
|
||||
|
||||
// SetVolumeClaimSize sets pvc claim size by reading pvc.Status.Capacity
|
||||
SetVolumeClaimSize(volumeName v1.UniqueVolumeName, claimSize resource.Quantity)
|
||||
}
|
||||
|
||||
// VolumeLogger defines a set of operations for generating volume-related logging and error msgs
|
||||
|
||||
Reference in New Issue
Block a user