Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyAirgapImagesResult ¶ added in v1.108.5
type CopyAirgapImagesResult struct {
EmbeddedClusterArtifacts []string
}
type CopyImageOptions ¶
type CopyImageOptions struct {
SrcRef types.ImageReference
DestRef types.ImageReference
SrcAuth RegistryAuth
DestAuth RegistryAuth
CopyAll bool
PreserveDigests bool
SrcDisableV1Ping bool
SrcSkipTLSVerify bool
DestDisableV1Ping bool
DestSkipTLSVerify bool
ReportWriter io.Writer
// SkipExistingImages enables an opt-in idempotency precheck: before invoking
// the copy library, the destination tag's manifest is fetched and compared
// against the source. If they match (byte-equal or canonically equal), the
// copy is skipped. Also enables OptimizeDestinationImageAlreadyExists on the
// copy library for per-child coverage. Required for re-pushing to registries
// that enforce tag immutability.
SkipExistingImages bool
}
type InstallationImageInfo ¶ added in v1.106.0
type InstallationImageInfo struct {
IsPrivate bool
}
type OCIArtifactFile ¶ added in v1.108.2
type ProcessImageOptions ¶ added in v1.106.0
type ProcessImageOptions struct {
AppSlug string
Namespace string
RewriteImages bool
CopyImages bool
RegistrySettings registrytypes.RegistrySettings
RootDir string
IsAirgap bool
AirgapBundle string
CreateAppDir bool
ReportWriter io.Writer
// SkipExistingImages, when true, makes each image push idempotent — see
// CopyImageOptions.SkipExistingImages.
SkipExistingImages bool
}
type PushEmbeddedClusterArtifactsOptions ¶ added in v1.108.2
type PushEmbeddedClusterArtifactsOptions struct {
Registry dockerregistrytypes.RegistryOptions
ChannelID string
UpdateCursor string
VersionLabel string
HTTPClient *http.Client
}
type PushImageOptions ¶ added in v1.107.0
type PushImagesOptions ¶ added in v1.106.0
type PushImagesOptions struct {
Registry dockerregistrytypes.RegistryOptions
KotsadmTag string
Log *logger.CLILogger
ProgressWriter io.Writer
LogForUI bool
// SkipExistingImages, when true, makes each image push idempotent — see the
// matching field on CopyImageOptions for details.
SkipExistingImages bool
}
type PushOCIArtifactOptions ¶ added in v1.108.2
type PushOCIArtifactOptions struct {
Files []OCIArtifactFile
ArtifactType string
Registry dockerregistrytypes.RegistryOptions
Repository string
Tag string
HTTPClient *http.Client
}
type RegistryAuth ¶
Click to show internal directories.
Click to hide internal directories.