Documentation ¶
Index ¶
- func MountRShared(path string) error
- func ParseMountOptions(options []string) (flagOpts uintptr, pgFlags []uintptr, data []string)
- func UnmountAllInPath(ctx context.Context, path string, removeTarget bool) (err error)
- func UnmountPath(ctx context.Context, target string, removeTarget bool) (err error)
- func WaitForFileMatchingPattern(ctx context.Context, pattern string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MountRShared ¶
MountRShared creates a bind mountpoint and marks it as rshared Expected that the filepath exists before calling this function
func ParseMountOptions ¶
func UnmountAllInPath ¶
func UnmountPath ¶
UnmountPath unmounts the target path if it exists and is a mount path. If removeTarget this will remove the previously mounted folder.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.