mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Address comments
This commit addressed the comment and also add a unit test.
This commit is contained in:
@@ -192,6 +192,10 @@ type ActualStateOfWorldAttacherUpdater interface {
|
||||
// volumes. See issue 29695.
|
||||
MarkVolumeAsAttached(volumeName v1.UniqueVolumeName, volumeSpec *volume.Spec, nodeName types.NodeName, devicePath string) error
|
||||
|
||||
// Marks the specified volume as *possibly* attached to the specified node.
|
||||
// If an attach operation fails, the attach/detach controller does not know for certain if the volume is attached or not.
|
||||
// If the volume name is supplied, that volume name will be used. If not, the
|
||||
// volume name is computed using the result from querying the plugin.
|
||||
MarkVolumeAsUncertain(volumeName v1.UniqueVolumeName, volumeSpec *volume.Spec, nodeName types.NodeName) error
|
||||
|
||||
// Marks the specified volume as detached from the specified node
|
||||
|
||||
Reference in New Issue
Block a user