Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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
}
BaseContext hold data related to pending registry mirroring operation.
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
}
PushContext holds data related to pending mirroring-to-registry operation.
Click to show internal directories.
Click to hide internal directories.