package storage
import "github.com/Microsoft/opengcs/internal/storage"
Index ¶
- func MountRShared(path string) error
- 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)
Functions ¶
func MountRShared ¶
MountRShared creates a bind mountpoint and marks it as rshared Expected that the filepath exists before calling this function
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.
func WaitForFileMatchingPattern ¶
WaitForFileMatchingPattern waits for a single file that matches the given path pattern and returns the full path to the resulting file
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal/storage/devicemapper | |
internal/storage/overlay | |
internal/storage/pci | |
internal/storage/plan9 | |
internal/storage/pmem | |
internal/storage/scsi | |
internal/storage/vmbus |
- Version
- v0.4.0 (latest)
- Published
- Dec 4, 2020
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 12 hours ago –
Tools for package owners.