浏览文件
process_other.go
17 行 · 369 B历史下载| 1 | //go:build !linux |
| 2 | |
| 3 | package containerenv |
| 4 | |
| 5 | import ( |
| 6 | "context" |
| 7 | "errors" |
| 8 | "os/exec" |
| 9 | ) |
| 10 | |
| 11 | func detachWorker(*exec.Cmd) {} |
| 12 | func tryLockRuntime(string) (func(), error) { |
| 13 | return nil, errors.New("容器运行环境仅支持 Linux 服务器") |
| 14 | } |
| 15 | func lockRuntime(context.Context, string) (func(), error) { |
| 16 | return nil, errors.New("容器运行环境仅支持 Linux 服务器") |
| 17 | } |

