Documentation
¶
Overview ¶
Package mount connects to a tailmount share and mounts it with the operating system's NFS client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadAddr = errors.New("invalid tailmount address")
ErrBadAddr reports an address that does not parse as a tailcat address.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Addr is the tailmount address printed by the sharer.
Addr string
// Mountpoint is the empty directory to mount on. Required.
Mountpoint string
// Verbose enables tailcat diagnostic logging.
Verbose bool
// Out receives status lines for humans. Defaults to stdout.
Out io.Writer
}
Options configure a mount.
Click to show internal directories.
Click to hide internal directories.