k3s/pkg/volume/rbd
Yecheng Fu ba0d275f3b RBD Plugin: Implement Attacher/Detacher interfaces.
1) Modify rbdPlugin to implement volume.AttachableVolumePlugin
   interface.
2) Add rbdAttacher/rbdDetacher structs to implement
   volume.Attacher/Detacher interfaces.
3) Add mount.SafeFormatAndMount/mount.Exec fields to rbdPlugin, and
   setup them in rbdPlugin.Init for later uses.
   Attacher/Mounter/Unmounter/Detacher reference rbdPlugin to use mounter
   and exec. This simplifies code.
4) Add testcase struct to abstract RBD Plugin test case, etc.
5) Add newRBD constructor to unify rbd struct initialization.
2017-10-25 17:43:17 +08:00
..
BUILD RBD Plugin: Implement Attacher/Detacher interfaces. 2017-10-25 17:43:17 +08:00
OWNERS remove deads2k from volume reviewer 2017-07-25 08:52:25 -04:00
attacher.go RBD Plugin: Implement Attacher/Detacher interfaces. 2017-10-25 17:43:17 +08:00
disk_manager.go RBD Plugin: Implement Attacher/Detacher interfaces. 2017-10-25 17:43:17 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
rbd.go RBD Plugin: Implement Attacher/Detacher interfaces. 2017-10-25 17:43:17 +08:00
rbd_test.go RBD Plugin: Implement Attacher/Detacher interfaces. 2017-10-25 17:43:17 +08:00
rbd_util.go RBD Plugin: Implement Attacher/Detacher interfaces. 2017-10-25 17:43:17 +08:00