(vol *types.ServiceVolumeVolume)
| 1286 | } |
| 1287 | |
| 1288 | func buildVolumeOptions(vol *types.ServiceVolumeVolume) *mount.VolumeOptions { |
| 1289 | if vol == nil { |
| 1290 | return nil |
| 1291 | } |
| 1292 | return &mount.VolumeOptions{ |
| 1293 | NoCopy: vol.NoCopy, |
| 1294 | Subpath: vol.Subpath, |
| 1295 | Labels: vol.Labels, |
| 1296 | // DriverConfig: , // FIXME missing from model ? |
| 1297 | } |
| 1298 | } |
| 1299 | |
| 1300 | func buildTmpfsOptions(tmpfs *types.ServiceVolumeTmpfs) *mount.TmpfsOptions { |
| 1301 | if tmpfs == nil { |
no outgoing calls
no test coverage detected
searching dependent graphs…