preflight

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 33 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanUpHost

func CleanUpHost() error

func RegisterSettings

func RegisterSettings(config config.Schema)

func SetupHost

func SetupHost(config config.Storage) error

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

func StartPreflightChecks

func StartPreflightChecks(config config.Storage) error

StartPreflightChecks performs the preflight checks before starting the cluster

Types

type Check added in v1.14.0

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

type CheckFunc added in v1.14.0

type CheckFunc func() error

type CleanUpFunc added in v1.14.0

type CleanUpFunc func() error

type FixFunc added in v1.14.0

type FixFunc func() error

type Flags added in v1.14.0

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

Jump to

Keyboard shortcuts

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