Expand description
Nydus Image Service Management Framework
The nydus-service crate provides facilities to manage Nydus services, such as:
blobfs: share processed RAFS metadata/data blobs to guest by virtio-fs, so the RAFS filesystem can be mounted by EROFS inside guest.blockdev: compose processed RAFS metadata/data as a block device, so it can be used as backend for virtio-blk.fscache: cooperate Linux fscache subsystem to mount RAFS filesystems by EROFS.fuse: mount RAFS filesystems as FUSE filesystems.
Re-exports§
pub use blob_cache::BlobCacheMgr;
Modules§
- blob_
cache - Blob cache manager to cache RAFS meta/data blob objects.
- daemon
- Infrastructure to define and manage Nydus service daemons.
- upgrade
- Online upgrade manager for Nydus daemons and filesystems.
Structs§
- FsBackend
Collection - List of FsBackendDescriptor, providing filesystem metrics and statistics information.
- FsBackend
Descriptor - Backend filesystem descriptor.
- FsBackend
Mount Cmd - Request structure to mount a filesystem instance.
- FsBackend
Umount Cmd - Request structure to unmount a filesystem instance.
- FsCache
Handler - Handler to cooperate with Linux fscache driver to manage cached blob objects.
- Fusedev
Daemon - Nydus daemon to implement FUSE servers by accessing
/dev/fuse.
Enums§
- Error
- Error code related to Nydus library.
- FsBackend
Type - Type of supported backend filesystems.
- Fuse
Notify Error
Traits§
- FsService
- Abstract interfaces for filesystem service provider.
- Service
Args - Trait to get configuration options for services.
Functions§
- create_
daemon - Create and start a Nydus daemon to host fscache and fusedev services.
- create_
fuse_ daemon - Create and start a FusedevDaemon instance.
- create_
vfs_ backend - validate_
threads_ configuration - Validate thread number configuration, valid range is
[1-1024].
Type Aliases§
- Result
- Specialized
Resultfor Nydus library.