preflight

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunChecks

func RunChecks(checks []Checker, ww io.Writer) error

RunChecks runs each check, display it's check/errors, and once all are processed will exist if any errors occured.

Types

type Checker

type Checker interface {
	Check() (warnings []string, errorList []error)
	Name() string
}

Checker validates the state of the cluster to ensure clusteradm will be successfully as often as possible.

type Error

type Error struct {
	Msg string
}

func (Error) Error

func (e Error) Error() string

func (*Error) Preflight

func (e *Error) Preflight() bool

Jump to

Keyboard shortcuts

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