A MountableStubDrive represents a stub drive that is ready to be patched and mounted once PatchAndMount is called.
| 242 | // A MountableStubDrive represents a stub drive that is ready to be patched and mounted |
| 243 | // once PatchAndMount is called. |
| 244 | type MountableStubDrive interface { |
| 245 | PatchAndMount( |
| 246 | requestCtx context.Context, |
| 247 | machine firecracker.MachineIface, |
| 248 | driveMounter drivemount.DriveMounterService, |
| 249 | ) error |
| 250 | } |
| 251 | |
| 252 | func stubPathToDriveID(stubPath string) string { |
| 253 | // Firecracker resource ids "can only contain alphanumeric characters and underscores", so |
no outgoing calls
no test coverage detected