• k8s-merge-robot's avatar
    Merge pull request #24557 from swagiaal/attacher-interface · d4b1b677
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
     Abstract node side functionality of attachable plugins
    
    - Create PhysicalAttacher interface to abstract MountDevice and
      WaitForAttach.
    - Create PhysicalDetacher interface to abstract WaitForDetach and
      UnmountDevice.
    - Expand unit tests to check that Attach, Detach, WaitForAttach,
      WaitForDetach, MountDevice, and UnmountDevice get call where
      appropriet.
    
    Physical{Attacher,Detacher} are working titles suggestions welcome. Some other thoughts:
    - NodeSideAttacher or NodeAttacher.
    - AttachWatcher
    - Call this Attacher and call the Current Attacher CloudAttacher.
    - DeviceMounter (although there are way too many things called Mounter right now :/)
    
    This is to address: https://github.com/kubernetes/kubernetes/pull/21709#issuecomment-192035382
    
    @saad-ali 
    d4b1b677
Name
Last commit
Last update
..
framework Loading commit data...
auth_test.go Loading commit data...
benchmark-controller.json Loading commit data...
client_test.go Loading commit data...
configmap_test.go Loading commit data...
doc.go Loading commit data...
dynamic_client_test.go Loading commit data...
etcd_tools_test.go Loading commit data...
extender_test.go Loading commit data...
kubectl_test.go Loading commit data...
master_benchmark_test.go Loading commit data...
master_test.go Loading commit data...
metrics_test.go Loading commit data...
openshift_test.go Loading commit data...
persistent_volumes_test.go Loading commit data...
pods_test.go Loading commit data...
quota_test.go Loading commit data...
scheduler_test.go Loading commit data...
secret_test.go Loading commit data...
service_account_test.go Loading commit data...
utils.go Loading commit data...