Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PullWorkerCount uint = 5
PullWorkerCount specifies source layer pull concurrency
View Source
var PushWorkerCount uint = 5
PushWorkerCount specifies Nydus layer push concurrency
Functions ¶
This section is empty.
Types ¶
type Opt ¶
type Opt struct { Logger provider.ProgressLogger SourceProvider provider.SourceProvider TargetRemote *remote.Remote CacheRemote *remote.Remote CacheMaxRecords uint NydusImagePath string WorkDir string PrefetchDir string WhiteoutSpec string MultiPlatform bool DockerV2Format bool BackendType string BackendConfig string }
Directories ¶
Path | Synopsis |
---|---|
Package provider abstract interface to adapt to different build environments, the provider includes these components: logger: output build progress for nydusify or buildkitd/buildctl; remote: create a remote resolver, it communicates with remote registry; source: responsible for getting image manifest, config, and mounting layer; Provider provides a default implementation, so we can use it in Nydusify directly, but we need to implement it in buildkit or other any projects which want to import nydusify package.
|
Package provider abstract interface to adapt to different build environments, the provider includes these components: logger: output build progress for nydusify or buildkitd/buildctl; remote: create a remote resolver, it communicates with remote registry; source: responsible for getting image manifest, config, and mounting layer; Provider provides a default implementation, so we can use it in Nydusify directly, but we need to implement it in buildkit or other any projects which want to import nydusify package. |
Click to show internal directories.
Click to hide internal directories.