Crate nydus_service

source ·
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

Modules

  • Blob cache manager to cache RAFS meta/data blob objects.
  • Infrastructure to define and manage Nydus service daemons.
  • Online upgrade manager for Nydus daemons and filesystems.

Structs

Enums

  • Error code related to Nydus library.
  • Type of supported backend filesystems.

Traits

  • Abstract interfaces for filesystem service provider.
  • Trait to get configuration options for services.

Functions

Type Definitions

  • Specialized Result for Nydus library.