installer

package
v0.0.0-...-21311fb Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 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 AWSProfile

type AWSProfile struct {
	Label string
	Count string
	// contains filtered or unexported fields
}

AWSProfile is ui model for aws server profile

func (*AWSProfile) SetInstanceType

func (p *AWSProfile) SetInstanceType(instanceType string)

SetInstanceType sets instance type on this profile

type Installer

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

Installer is installer ui model

func Open

func Open(page *web.Page, URL string) Installer

Open creates installer ui model and navigates to given URL

func (*Installer) GetAWSProfiles

func (i *Installer) GetAWSProfiles() []AWSProfile

GetAWSProfiles returns a list of aws profiles

func (*Installer) GetOnPremProfiles

func (i *Installer) GetOnPremProfiles() []OnPremProfile

GetOnPremProfiles returns a list of onprem profiles

func (*Installer) InitAWSInstallation

func (i *Installer) InitAWSInstallation(domainName string)

InitAWSInstallation initilizes cluster install operation using AWS

func (*Installer) InitOnPremInstallation

func (i *Installer) InitOnPremInstallation(domainName string)

InitOnPremInstallation initilizes cluster install operation using OnPrem

func (*Installer) IsCreateSiteStep

func (i *Installer) IsCreateSiteStep() bool

IsCreateSiteStep checks if installer is at the initial step

func (*Installer) IsInProgressStep

func (i *Installer) IsInProgressStep() bool

IsInProgressStep checks if installer is in progress

func (*Installer) IsInstallCompleted

func (i *Installer) IsInstallCompleted() bool

IsInstallCompleted checks if install operation has been completed

func (*Installer) IsInstallFailed

func (i *Installer) IsInstallFailed() bool

IsInstallFailed checks if install operation failed

func (*Installer) IsRequirementsReviewStep

func (i *Installer) IsRequirementsReviewStep() bool

IsRequirementsReviewStep checks if installer is at the requirements step

func (*Installer) IsWarningVisible

func (i *Installer) IsWarningVisible() bool

IsWarningVisible checks if installer has any warnings visible

func (*Installer) NeedsBandwagon

func (i *Installer) NeedsBandwagon(domainName string) bool

NeedsBandwagon checks if installation has a bandwagon step

func (*Installer) PrepareOnPremNodes

func (i *Installer) PrepareOnPremNodes(dockerDevice string)

PrepareOnPremNodes sets parameters for each found node

func (*Installer) ProceedToSite

func (i *Installer) ProceedToSite()

ProceedToSite proceeds to the cluster site once installation is completed.

func (*Installer) ProcessLicenseStepIfRequired

func (i *Installer) ProcessLicenseStepIfRequired(license string)

ProcessLicenseStepIfRequired handles installer step which requires a license

func (*Installer) SelectFlavorByIndex

func (i *Installer) SelectFlavorByIndex(index int)

SelectFlavorByIndex selects flavor by index

func (*Installer) SelectFlavorByLabel

func (i *Installer) SelectFlavorByLabel(label string) int

SelectFlavorByLabel selects flavor by label

func (*Installer) StartInstallation

func (i *Installer) StartInstallation()

StartInstallation starts install operation

func (*Installer) WaitForCompletion

func (i *Installer) WaitForCompletion()

WaitForCompletion waits for ongoing install operation to be completed

type OnPremProfile

type OnPremProfile struct {
	Command string
	Label   string
	Count   int
	// contains filtered or unexported fields
}

OnPremProfile is ui model for onprem server profile

func (*OnPremProfile) GetAgentServers

func (p *OnPremProfile) GetAgentServers() []agent.AgentServer

GetAgentServers returns agent servers

Jump to

Keyboard shortcuts

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