midstream

package
v1.43.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 21 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
	PullSecret     *corev1.Secret
	IdentitySpec   *kotsv1beta1.Identity
	IdentityConfig *kotsv1beta1.IdentityConfig
}

func CreateMidstream

func CreateMidstream(b *base.Base, images []kustomizetypes.Image, objects []k8sdoc.K8sDoc, pullSecret *corev1.Secret, identitySpec *kotsv1beta1.Identity, identityConfig *kotsv1beta1.IdentityConfig) (*Midstream, error)

func (*Midstream) KustomizationFilename added in v0.9.10

func (m *Midstream) KustomizationFilename(options WriteOptions) string

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
	Cipher             crypto.AESCipher
	Builder            template.Builder
	HTTPProxyEnvValue  string
	HTTPSProxyEnvValue string
	NoProxyEnvValue    string
}

Jump to

Keyboard shortcuts

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