prerequisites

package
v0.33.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager provides APIs for interacting with Prerequisites within the target cluster.

func New

func New(config *rest.Config, defs *defaults.CloudConfig, features *feature.Flags) (*Manager, error)

New constructs a new Manager for working with installation Prerequisites.

func (*Manager) Check

func (m *Manager) Check() (*Status, error)

Check performs IsInstalled checks for each of the Prerequisites against the target cluster.

type Prerequisite

type Prerequisite interface {
	GetName() string

	Install() error
	IsInstalled() (bool, error)
}

Prerequisite defines the API that is used to interogate an installation prerequisite.

type Status

type Status struct {
	NotInstalled []Prerequisite
}

Status represents the the overall status of the Prerequisite within the target cluster.

Directories

Path Synopsis
providers

Jump to

Keyboard shortcuts

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