Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TargetSkipVerifyLabel is a snapshot label key that indicates to skip content // verification for the layer. TargetSkipVerifyLabel = "containerd.io/snapshot/remote/stargz.skipverify" // TargetPrefetchSizeLabel is a snapshot label key that indicates size to prefetch // the layer. If the layer is eStargz and contains prefetch landmarks, these config // will be respeced. TargetPrefetchSizeLabel = "containerd.io/snapshot/remote/stargz.prefetch" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobConfig ¶
type Config ¶
type Config struct { HTTPCacheType string `toml:"http_cache_type"` FSCacheType string `toml:"filesystem_cache_type"` ResolveResultEntry int `toml:"resolve_result_entry"` PrefetchSize int64 `toml:"prefetch_size"` PrefetchTimeoutSec int64 `toml:"prefetch_timeout_sec"` NoPrefetch bool `toml:"noprefetch"` NoBackgroundFetch bool `toml:"no_background_fetch"` Debug bool `toml:"debug"` AllowNoVerification bool `toml:"allow_no_verification"` DisableVerification bool `toml:"disable_verification"` MaxConcurrency int64 `toml:"max_concurrency"` NoPrometheus bool `toml:"no_prometheus"` // BlobConfig is config for layer blob management. BlobConfig `toml:"blob"` // DirectoryCacheConfig is config for directory-based cache. DirectoryCacheConfig `toml:"directory_cache"` }
type DirectoryCacheConfig ¶
Click to show internal directories.
Click to hide internal directories.