package
0.0.0-20241125151401-e66715b925b4
Repository: https://github.com/control-center/serviced.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExportDirectory recursively writes its contents into a tar Writer.
ExportFile writes a file into a tar Writer.
No description provided by the author
No description provided by the author
No description provided by the author
FindMount mounts a path based on the relative location of the nearest driver.
No description provided by the author
GetDriver returns the driver from path <root>.
GetLastIOStat returns the iostat device utilization reports.
GetStatus retrieves the status for the volumeNames passed in.
ImportArchive reads from a tar Reader and writes the contents into a path preserving file permissions and ownership.
ImportArchiveHeader imports a tarfile header to a particular path.
InitDriver sets up a driver <name> and initializes it to <root>.
InitIOStat starts the iostat call and passes the close signal when sent.
IsBtrfsFilesystem determines whether the path is a btrfs filesystem.
IsDir() checks if the given dir is a directory.
No description provided by the author
No description provided by the author
Mount loads, mounting if necessary, a volume under a path using a specific driver path at <root>.
No description provided by the author
No description provided by the author
Register registers a driver initializer under <name> so it can be looked up.
Registered returns a boolean indicating whether driver <name> has been registered.
RunBtrFSCmd runs a btrfs command, optionally using sudo.
ShutdownAll shuts down all drivers that have been initialized.
ShutdownDriver shuts down an existing driver and removes it from our internal map.
SplitPath splits a path by its driver and respective volume.
No description provided by the author
No description provided by the author
No description provided by the author
Unregister the driver init func <name>.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
This struct is stupid, for the sake of using interfaces AND RPC ser/deser.
TenantStorageStats represents tenant-specific storage usage details.
No description provided by the author
No description provided by the author
# Type aliases
DriverInit represents a function that can initialize a driver.
DriverType represents a driver type.
FileInfoSlice is a os.FileInfo array sortable by modification time.
UsageData implements Unmarshaler allowing us to unmarshal a []Usage indirectly.