Documentation
¶
Overview ¶
Package wait exposes utilities to synchronize containers based on file or network port.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTimeout = errors.New("the waiting for mounts has been too long: bailed")
ErrTimeout tells a wait for an event has timed out
Functions ¶
func Done ¶
Done creates a file on the local file system.
A typical use is to signal to other containers that we are done (e.g. proxy container), using a touch file to communicate between the containers on the same pod.
This does nothing if the touch file argument is empty.
func FileIsPresent ¶
FileIsPresent waits for a file to be present on the local file system.
This does nothing if the pth argument is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.