preflight

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnableExperimentalFeatures bool

Enables the use of experimental features

Functions

func CleanUpHost

func CleanUpHost()

func RegisterSettings

func RegisterSettings()

func SetupHost

func SetupHost()

SetupHost performs the prerequisite checks and setups the host to run the cluster

func StartPreflightChecks

func StartPreflightChecks()

StartPreflightChecks performs the preflight checks before starting the cluster

Types

type PreflightCheck

type PreflightCheck struct {
	// contains filtered or unexported fields
}

type PreflightCheckFlags

type PreflightCheckFlags uint32
const (
	// Indicates a PreflightCheck should only be run as part of "crc setup"
	SetupOnly PreflightCheckFlags = 1 << iota
	// Indicates a PreflightCheck should only be run as part of "crc start"
	StartOnly
	NoFix
	CleanUpOnly
)

type PreflightCheckFunc

type PreflightCheckFunc func() error

type PreflightCleanUpFunc

type PreflightCleanUpFunc func() error

type PreflightFixFunc

type PreflightFixFunc func() error

Jump to

Keyboard shortcuts

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