Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultParallelism = ParallelismConfig{
Blobs: 4,
Images: 1,
}
Functions ¶
This section is empty.
Types ¶
type BaseParams ¶
type BaseParams struct { // --registry-login + --registry-password (can be nil in this case, means anonymous) 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 BundleDir string // images-bundle-path argument WorkingDir string // Temporary directory to use for all intermediate operations on OCI layouts Insecure bool // --insecure SkipTLSVerification bool // --skip-tls-verify Logger Logger }
BaseParams hold data related to pending registry mirroring operation.
type ParallelismConfig ¶
type PullParams ¶
type PullParams struct { BaseParams DoGOSTDigests bool // --gost-digest SkipPlatform bool // --no-platform SkipSecurityDatabases bool // --no-security-db SkipModules bool // --no-modules BundleChunkSize int64 // Plain bytes // Only one of those 2 is filled at a single time or none at all. SinceVersion *semver.Version // --since-version DeckhouseTag string // --deckhouse-tag ModulesPathSuffix string // --modules-path-suffix }
PullParams holds data related to pending mirroring-from-registry operation.
type PushParams ¶
type PushParams struct { BaseParams Parallelism ParallelismConfig }
PushParams holds data related to pending mirroring-to-registry operation.
Click to show internal directories.
Click to hide internal directories.