preflight

package
v0.0.0-...-a8f7ac2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadChecks

func LoadChecks()

func ShouldRun

func ShouldRun(labelsExpr string) bool

Returns true if the preflight checks should run. Conditions: (1) the labels expr should contain any of the preflight tags/labels & (2) the preflight dockerconfig file must exist. This is just a hack to avoid running the preflight.LoadChecks() if it's not necessary since that function is actually running all the preflight lib's checks, which can take some time to finish. When they're finished, a checksdb.Check is created for each preflight lib's check that has run. The CheckFn will simply store the result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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