package fs

import "github.com/containerd/stargz-snapshotter/fs"

Index

Functions

func NewFilesystem

func NewFilesystem(root string, cfg config.Config, opts ...Option) (_ snapshot.FileSystem, err error)

Types

type Option

type Option func(*options)

func WithAdditionalDecompressors

func WithGetSources

func WithGetSources(s source.GetSources) Option

func WithMetadataStore

func WithMetadataStore(metadataStore metadata.Store) Option

func WithMetricsLogLevel

func WithMetricsLogLevel(logLevel log.Level) Option

func WithOverlayOpaqueType

func WithOverlayOpaqueType(overlayOpaqueType layer.OverlayOpaqueType) Option

func WithResolveHandler

func WithResolveHandler(name string, handler remote.Handler) Option

Source Files

fs.go

Directories

PathSynopsis
fs/config
fs/layer
fs/metrics
fs/metrics/common
fs/metrics/layer
fs/reader
fs/remote
fs/source
Version
v0.16.3 (latest)
Published
Dec 12, 2024
Platform
linux/amd64
Imports
26 packages
Last checked
2 weeks ago

Tools for package owners.