• Kubernetes Submit Queue's avatar
    Merge pull request #56454 from mtanino/volumehandler-refactor · 4afdc33c
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 59767, 56454, 59237, 59730, 55479). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Block Volume: Refactor volumehandler in operationexecutor
    
    **What this PR does / why we need it**:
    
    Based on discussion with @saad-ali at #51494, we need refactor volumehandler in operationexecutor
    for Block Volume feature. We don't need to add volumehandler as separated object.
    
    ```
    VolumeHandler does not need to be a separate object that is constructed inline like this. 
    You can create a new operation, e.g. UnmountOperation to which you pass the spec,
    and it can return either a UnmountVolume or UnmapVolume.
    ```
    
    **Which issue(s) this PR fixes** : no related issue.
    
    **Special notes for your reviewer**:
    
    @saad-ali @msau42 
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    4afdc33c
Name
Last commit
Last update
..
nestedpendingoperations Loading commit data...
operationexecutor Loading commit data...
types Loading commit data...
volumehelper Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
atomic_writer.go Loading commit data...
atomic_writer_test.go Loading commit data...
device_util.go Loading commit data...
device_util_linux.go Loading commit data...
device_util_linux_test.go Loading commit data...
device_util_unsupported.go Loading commit data...
doc.go Loading commit data...
error.go Loading commit data...
finalizer.go Loading commit data...
fs.go Loading commit data...
fs_unsupported.go Loading commit data...
io_util.go Loading commit data...
metrics.go Loading commit data...
resize_util.go Loading commit data...
resize_util_test.go Loading commit data...
util.go Loading commit data...
util_linux.go Loading commit data...
util_test.go Loading commit data...
util_unsupported.go Loading commit data...