Documentation ¶
Overview ¶
Helper code for daemonizing gcsfuse, synchronizing on successful mount.
The details of this package are subject to change.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mount ¶
Invoke gcsfuse with the supplied arguments, waiting until it successfully mounts or reports that is has failed. Write status updates while mounting into the supplied writer (which may be nil for silence). Return nil only if it mounts successfully.
func SignalOutcome ¶
For use by gcsfuse: signal that mounting was successful (allowing the caller of the process to return in success) or that there was a failure to mount the file system (allowing the caller of the process to display an appropriate error message).
Do nothing if the process wasn't invoked with Mount.
func StatusWriter ¶
For use by gcsfuse: return a writer that should be used for logging status messages while in the process of mounting.
The returned writer must not be written to after calling SignalOutcome.
Types ¶
This section is empty.