midstream

package
v1.73.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDisasterRecoveryLabelTransformer

func EnsureDisasterRecoveryLabelTransformer(archiveDir string, additionalLabels map[string]string) error

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 (*Midstream) WriteMidstream

func (m *Midstream) WriteMidstream(options WriteOptions) error

type WriteOptions

type WriteOptions struct {
	MidstreamDir       string
	BaseDir            string
	AppSlug            string
	IsGitOps           bool
	IsOpenShift        bool
	Builder            template.Builder
	HTTPProxyEnvValue  string
	HTTPSProxyEnvValue string
	NoProxyEnvValue    string
	UseHelmInstall     map[string]bool
	NewHelmCharts      []*kotsv1beta1.HelmChart
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL