Function
buildImageOptions
(image *types.ServiceVolumeImage)
Source from the content-addressed store, hash-verified
| 1308 | } |
| 1309 | |
| 1310 | func buildImageOptions(image *types.ServiceVolumeImage) *mount.ImageOptions { |
| 1311 | if image == nil { |
| 1312 | return nil |
| 1313 | } |
| 1314 | return &mount.ImageOptions{ |
| 1315 | Subpath: image.SubPath, |
| 1316 | } |
| 1317 | } |
| 1318 | |
| 1319 | func (s *composeService) ensureNetwork(ctx context.Context, project *types.Project, name string, n *types.NetworkConfig) (string, error) { |
| 1320 | if n.External { |
Tested by
no test coverage detected