midstream

package
v1.121.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 28 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 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
}

Jump to

Keyboard shortcuts

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