airgap

package
v1.103.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAppFromAirgap

func CreateAppFromAirgap(opts CreateAirgapAppOpts) (finalError error)

CreateAppFromAirgap does a lot. Maybe too much. Definitely too much. This function assumes that there's an app in the database that doesn't have a version After execution, there will be a sequence 0 of the app, and all clusters in the database will also have a version

func GetMissingRequiredVersions

func GetMissingRequiredVersions(app *apptypes.App, airgap *kotsv1beta1.Airgap) ([]string, error)

func UpdateAppFromAirgap

func UpdateAppFromAirgap(a *apptypes.App, airgapBundlePath string, deploy bool, skipPreflights bool, skipCompatibilityCheck bool) (finalError error)

func UpdateAppFromPath

func UpdateAppFromPath(a *apptypes.App, airgapRoot string, airgapBundlePath string, deploy bool, skipPreflights bool, skipCompatibilityCheck bool) error

Types

type CreateAirgapAppOpts

type CreateAirgapAppOpts struct {
	PendingApp             *types.PendingApp
	AirgapPath             string
	RegistryHost           string
	RegistryNamespace      string
	RegistryUsername       string
	RegistryPassword       string
	RegistryIsReadOnly     bool
	IsAutomated            bool
	SkipPreflights         bool
	SkipCompatibilityCheck bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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