nydus

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const LayerAnnotationNydusBlobIDs = "containerd.io/snapshot/nydus-blob-ids"

TODO: Move snapshotter needed all image annotations to nydus-snapshotter.

Variables

This section is empty.

Functions

func NewFileSystem

func NewFileSystem(ctx context.Context, opt ...NewFSOpt) (fspkg.FileSystem, error)

NewFileSystem initialize Filesystem instance

Types

type NewFSOpt

type NewFSOpt func(d *filesystem) error

func WithCacheManager

func WithCacheManager(cm *cache.Manager) NewFSOpt

func WithDaemonConfig

func WithDaemonConfig(cfg config.DaemonConfig) NewFSOpt

func WithDaemonMode

func WithDaemonMode(daemonMode string) NewFSOpt

func WithLogDir

func WithLogDir(dir string) NewFSOpt

func WithLogLevel

func WithLogLevel(logLevel string) NewFSOpt

func WithLogToStdout

func WithLogToStdout(logToStdout bool) NewFSOpt

func WithMeta

func WithMeta(root string) NewFSOpt

func WithNydusdBinaryPath

func WithNydusdBinaryPath(p string) NewFSOpt

func WithNydusdThreadNum

func WithNydusdThreadNum(nydusdThreadNum int) NewFSOpt

func WithProcessManager

func WithProcessManager(pm *process.Manager) NewFSOpt

func WithVPCRegistry

func WithVPCRegistry(vpcRegistry bool) NewFSOpt

func WithVerifier

func WithVerifier(verifier *signature.Verifier) NewFSOpt

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL