Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultParallelism = ParallelismConfig{
Blobs: 4,
Images: 1,
}
Functions ¶
This section is empty.
Types ¶
type BaseContext ¶
type BaseContext struct { // --registry-login + --registry-password (can be nil in this case) or --license depending on the operation requested RegistryAuth authn.Authenticator RegistryHost string // --registry (FQDN with port, if one is provided) RegistryPath string // --registry (path) DeckhouseRegistryRepo string // --source during pull, extracted from bundle data during push BundlePath string // --images-bundle-path UnpackedImagesPath string Insecure bool // --insecure SkipTLSVerification bool // --skip-tls-verify Logger Logger }
BaseContext hold data related to pending registry mirroring operation.
type ParallelismConfig ¶ added in v0.3.5
type PullContext ¶
type PullContext struct { BaseContext DoGOSTDigests bool // --gost-digest SkipModulesPull bool // --no-modules BundleChunkSize int64 // Plain bytes // Only one of those 2 is filled at a single time or none at all. MinVersion *semver.Version // --min-version SpecificVersion *semver.Version // --release }
PullContext holds data related to pending mirroring-from-registry operation.
type PushContext ¶
type PushContext struct { BaseContext Parallelism ParallelismConfig }
PushContext holds data related to pending mirroring-to-registry operation.
Click to show internal directories.
Click to hide internal directories.