installer

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HostRoleMaster    = "master"
	HostRoleBootstrap = "bootstrap"
	InstallDir        = "/opt/install-dir"
	KubeconfigPath    = "/opt/openshift/auth/kubeconfig-loopback"
)

const baseHref = "/api/bm-inventory/v1"

View Source
const (
	StartingInstallation = "Starting installation"
	InstallingAs         = "Installing as %s"
	RunningBootstrap     = "Bootstrapping installation"
	WaitForControlPlane  = "Waiting for control plane"
	WritingImageToDisk   = "Writing image to disk"
	Reboot               = "Rebooting"
	Joined               = "Joined"
)

Variables

This section is empty.

Functions

func NewAssistedInstaller

func NewAssistedInstaller(log *logrus.Logger, cfg config.Config, ops ops.Ops, ic inventory_client.InventoryClient, kcb k8s_client.K8SClientBuilder) *installer

Types

type Installer

type Installer interface {
	InstallNode() error
	UpdateHostStatus(newStatus string)
}

Installer will run the install operations on the node

Jump to

Keyboard shortcuts

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