package pidfile
import "github.com/docker/cli/components/engine/pkg/pidfile"
Package pidfile provides structure and helper functions to create and remove PID file. A PID file is usually a file used to store the process ID of a running process.
Index ¶
Types ¶
type PIDFile ¶
type PIDFile struct {
// contains filtered or unexported fields
}
PIDFile is a file used to store the process ID of a running process.
func New ¶
New creates a PIDfile using the specified path.
func (PIDFile) Remove ¶
Remove removes the PIDFile.
Source Files ¶
- Version
- v17.10.0-ce-rc1+incompatible
- Published
- Oct 4, 2017
- Platform
- darwin/amd64
- Imports
- 8 packages
- Last checked
- 1 second ago –
Tools for package owners.