Documentation
¶
Index ¶
- func EnsureDisasterRecoveryLabelTransformer(archiveDir string, additionalLabels map[string]string) error
- func LoadPrivateRegistryInfo(archivePath string) (*registrytypes.RegistrySettings, error)
- func ProcessAirgapImages(options ProcessImageOptions, kotsKinds *kotsutil.KotsKinds, ...) (*upstream.ProcessAirgapImagesResult, error)
- type Midstream
- type ProcessImageOptions
- type WriteOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPrivateRegistryInfo ¶
func LoadPrivateRegistryInfo(archivePath string) (*registrytypes.RegistrySettings, error)
func ProcessAirgapImages ¶ added in v1.92.1
func ProcessAirgapImages(options ProcessImageOptions, kotsKinds *kotsutil.KotsKinds, license *kotsv1beta1.License, log *logger.CLILogger) (*upstream.ProcessAirgapImagesResult, error)
processAirgapImages Will rewrite images found in the airgap bundle/airgap root and copy them (if necessary) to the configured registry.
Types ¶
type Midstream ¶
type Midstream struct { Kustomization *kustomizetypes.Kustomization Base *base.Base DocForPatches []k8sdoc.K8sDoc AppPullSecret *corev1.Secret AdminConsolePullSecret *corev1.Secret DockerHubPullSecret *corev1.Secret IdentitySpec *kotsv1beta1.Identity IdentityConfig *kotsv1beta1.IdentityConfig }
func CreateMidstream ¶
func CreateMidstream(b *base.Base, images []kustomizetypes.Image, objects []k8sdoc.K8sDoc, pullSecrets *registry.ImagePullSecrets, identitySpec *kotsv1beta1.Identity, identityConfig *kotsv1beta1.IdentityConfig) (*Midstream, error)
func WriteMidstream ¶ added in v1.92.1
func WriteMidstream(writeMidstreamOptions WriteOptions, processImageOptions ProcessImageOptions, b *base.Base, license *kotsv1beta1.License, identityConfig *kotsv1beta1.IdentityConfig, upstreamDir string, log *logger.CLILogger) (*Midstream, error)
func (*Midstream) Write ¶ added in v1.92.1
func (m *Midstream) Write(options WriteOptions) error
type ProcessImageOptions ¶ added in v1.92.1
Click to show internal directories.
Click to hide internal directories.