Documentation ¶
Index ¶
- func NewFilesystem(root string, cfg config.Config, opts ...Option) (_ snapshot.FileSystem, err error)
- type Option
- func WithAdditionalDecompressors(...) Option
- func WithGetSources(s source.GetSources) Option
- func WithMetadataStore(metadataStore metadata.Store) Option
- func WithMetricsLogLevel(logLevel logrus.Level) Option
- func WithOverlayOpaqueType(overlayOpaqueType layer.OverlayOpaqueType) Option
- func WithResolveHandler(name string, handler remote.Handler) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilesystem ¶
Types ¶
type Option ¶
type Option func(*options)
func WithAdditionalDecompressors ¶ added in v0.13.0
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 ¶ added in v0.11.0
func WithMetricsLogLevel ¶ added in v0.11.1
func WithOverlayOpaqueType ¶ added in v0.11.3
func WithOverlayOpaqueType(overlayOpaqueType layer.OverlayOpaqueType) Option
Click to show internal directories.
Click to hide internal directories.