portReserverPidFilePath returns /run/nerdctl/ / /port-reserver.pid
(namespace, id string)
| 457 | |
| 458 | // portReserverPidFilePath returns /run/nerdctl/<namespace>/<id>/port-reserver.pid |
| 459 | func portReserverPidFilePath(namespace, id string) string { |
| 460 | return filepath.Join("/run/nerdctl/", namespace, id, "port-reserver.pid") |
| 461 | } |
| 462 | |
| 463 | func CleanupPortReserverProcess(namespace, id string) error { |
| 464 | // In rootless mode, port-reserver is handled by Rootlesskit, so no cleanup is needed. |
no outgoing calls
no test coverage detected
searching dependent graphs…