package fs
import "github.com/containerd/stargz-snapshotter/fs"
Index ¶
- func NewFilesystem(root string, cfg config.Config, opts ...Option) (_ snapshot.FileSystem, err error)
- type Option
- func WithAdditionalDecompressors(d func(context.Context, source.RegistryHosts, reference.Spec, ocispec.Descriptor) []metadata.Decompressor) Option
- func WithGetSources(s source.GetSources) Option
- func WithMetadataStore(metadataStore metadata.Store) Option
- func WithMetricsLogLevel(logLevel log.Level) Option
- func WithOverlayOpaqueType(overlayOpaqueType layer.OverlayOpaqueType) Option
- func WithResolveHandler(name string, handler remote.Handler) Option
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 WithAdditionalDecompressors(d func(context.Context, source.RegistryHosts, reference.Spec, ocispec.Descriptor) []metadata.Decompressor) Option
func WithGetSources ¶
func WithGetSources(s source.GetSources) Option
func WithMetadataStore ¶
func WithMetricsLogLevel ¶
func WithOverlayOpaqueType ¶
func WithOverlayOpaqueType(overlayOpaqueType layer.OverlayOpaqueType) Option
func WithResolveHandler ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
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.