preflight

package
v1.108.5 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpecDataKey = "preflight-spec"
)

Variables

This section is empty.

Functions

func CreateRenderedSpec

func CreateRenderedSpec(app *apptypes.App, sequence int64, origin string, inCluster bool, kotsKinds *kotsutil.KotsKinds, archiveDir string) error

func GetPreflightCheckState added in v1.103.2

func GetPreflightCheckState(p *troubleshootpreflight.UploadPreflightResult) string

GetPreflightCheckState returns the state of a single preflight check result

func GetPreflightCommand

func GetPreflightCommand(appSlug string) []string

func GetPreflightState

func GetPreflightState(preflightResults *types.PreflightResults) string

GetPreflightState returns a single state based on checking all preflight checks results. If there are any errors, the state is fail. If there are no errors and any warnings, the state is warn. Otherwise, the state is pass.

func GetSpecSecretName

func GetSpecSecretName(appSlug string) string

func GetSpecURI

func GetSpecURI(appSlug string) string

func Run

func Run(appID string, appSlug string, sequence int64, isAirgap bool, archiveDir string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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