Documentation ¶
Index ¶
- Constants
- func CreateRenderedSpec(app *apptypes.App, sequence int64, origin string, inCluster bool, ...) error
- func GetPreflightCheckState(p *troubleshootpreflight.UploadPreflightResult) string
- func GetPreflightCommand(appSlug string) []string
- func GetPreflightState(preflightResults *types.PreflightResults) string
- func GetSpecSecretName(appSlug string) string
- func GetSpecURI(appSlug string) string
- func Run(appID string, appSlug string, sequence int64, isAirgap bool, archiveDir string) error
Constants ¶
View Source
const (
SpecDataKey = "preflight-spec"
)
Variables ¶
This section is empty.
Functions ¶
func CreateRenderedSpec ¶
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 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 GetSpecURI ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.