浏览文件
mounts_other.go
15 行 · 359 B历史下载| 1 | //go:build !linux |
| 2 | |
| 3 | package containerenv |
| 4 | |
| 5 | import ( |
| 6 | "context" |
| 7 | "errors" |
| 8 | ) |
| 9 | |
| 10 | func (r *Runtime) inspectMounts(*engineContainer) (MountPropagation, error) { |
| 11 | return MountPropagation{}, errors.New("容器挂载检查仅支持 Linux") |
| 12 | } |
| 13 | func (r *Runtime) initializeMounts(context.Context, string) error { |
| 14 | return errors.New("容器挂载初始化仅支持 Linux") |
| 15 | } |

