(ctx context.Context)
| 13 | } |
| 14 | |
| 15 | func Mounter(ctx context.Context) mount.Interface { |
| 16 | m := ctx.Value(mounterKey{}) |
| 17 | if m == nil { |
| 18 | return mount.New("/bin/mount") |
| 19 | } |
| 20 | |
| 21 | //nolint we should panic if this isn't the case. |
| 22 | return m.(mount.Interface) |
| 23 | } |
| 24 | |
| 25 | type Mount struct { |
| 26 | Source string |
no outgoing calls
no test coverage detected