Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPrivateRegistryInfo ¶
func LoadPrivateRegistryInfo(archivePath string) (*registrytypes.RegistrySettings, error)
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(opts WriteOptions) (*Midstream, error)
func (*Midstream) Write ¶ added in v1.92.1
func (m *Midstream) Write(options WriteOptions) error
type WriteOptions ¶
type WriteOptions struct { MidstreamDir string Base *base.Base BaseDir string AppSlug string IsGitOps bool IsOpenShift bool Builder template.Builder HTTPProxyEnvValue string HTTPSProxyEnvValue string NoProxyEnvValue string NewHelmCharts []*kotsv1beta1.HelmChart ProcessImageOptions imagetypes.ProcessImageOptions License *kotsv1beta1.License KotsKinds *kotsutil.KotsKinds IdentityConfig *kotsv1beta1.IdentityConfig UpstreamDir string Log *logger.CLILogger }
Click to show internal directories.
Click to hide internal directories.