Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadChecks ¶
func LoadChecks()
func ShouldRun ¶
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.
Click to show internal directories.
Click to hide internal directories.