Documentation ¶
Overview ¶
Package flock is copied from k8s.io/kubernetes/pkg/util/flock to avoid importing k8s.io/kubernetes as a dependency.
Provides file locking functionalities on unix systems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAlreadyLocked is returned when the file is already locked. ErrAlreadyLocked = errors.New("the file is already locked") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.